Skip to content

Commit cef6dd4

Browse files
committed
Enable VK_KHR_shader_draw_parameters #1205 when using Slang shaders
1 parent 5c786e7 commit cef6dd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/vulkanexamplebase.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ VkResult VulkanExampleBase::createInstance()
9696
}
9797
enabledDeviceExtensions.push_back(VK_KHR_SPIRV_1_4_EXTENSION_NAME);
9898
enabledDeviceExtensions.push_back(VK_KHR_SHADER_FLOAT_CONTROLS_EXTENSION_NAME);
99+
enabledDeviceExtensions.push_back(VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME);
99100
}
100101

101102
VkApplicationInfo appInfo{

0 commit comments

Comments
 (0)