diff --git a/res/engine/shaders/skybox.vert b/res/engine/shaders/skybox.vert index 4a9b183..c7d5bf9 100644 --- a/res/engine/shaders/skybox.vert +++ b/res/engine/shaders/skybox.vert @@ -11,7 +11,6 @@ layout( push_constant ) uniform Constants { } constants; layout(location = 0) in vec3 inPosition; -layout(location = 1) in vec3 inNorm; layout(location = 2) in vec2 inUV; layout(location = 0) out vec2 fragUV; diff --git a/src/gfx_device_vulkan.cpp b/src/gfx_device_vulkan.cpp index 0e480d9..9747c61 100644 --- a/src/gfx_device_vulkan.cpp +++ b/src/gfx_device_vulkan.cpp @@ -1205,6 +1205,7 @@ namespace engine { const std::vector requiredDeviceExtensions{ VK_KHR_SWAPCHAIN_EXTENSION_NAME, + VK_KHR_DYNAMIC_RENDERING_EXTENSION_NAME, }; for (const auto& dev : physicalDevices) { @@ -1360,6 +1361,10 @@ namespace engine { .pEnabledFeatures = &deviceFeatures, }; + for ([[maybe_unused]] const char* ext : requiredDeviceExtensions) { + DEBUG("Using Vulkan device extension: {}", ext); + } + res = vkCreateDevice(pimpl->physicalDevice, &deviceCreateInfo, nullptr, &pimpl->device); if (res != VK_SUCCESS) { throw std::runtime_error("Unable to create Vulkan logical device, error code: " + std::to_string(res));