Skip to content

Commit

Permalink
Merge pull request PacktPublishing#11 from zixin96/FixValidationError
Browse files Browse the repository at this point in the history
Fix Validation Error in Chapter 4 Vulkan Demo App
  • Loading branch information
corporateshark authored May 17, 2022
2 parents 45e25f8 + a1d22e5 commit aaacb84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shared/UtilsVulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ VkResult createDevice(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures
{
const std::vector<const char*> extensions =
{
VK_KHR_SWAPCHAIN_EXTENSION_NAME
VK_KHR_SWAPCHAIN_EXTENSION_NAME,
VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME
};

const float queuePriority = 1.0f;
Expand Down

0 comments on commit aaacb84

Please sign in to comment.