diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 24aa01a22ed..786b4c7e2b4 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -15,3 +15,4 @@ VK_KHR_shader_quad_control on panvk/v10+ multiDrawIndirect on panvk/v10+ VK_KHR_draw_indirect_count on panvk/v10+ VK_KHR_shader_integer_dot_product on panvk +VK_KHR_shader_terminate_invocation on panvk diff --git a/src/panfrost/vulkan/panvk_physical_device.c b/src/panfrost/vulkan/panvk_physical_device.c index 87a95472802..46bbee33242 100644 --- a/src/panfrost/vulkan/panvk_physical_device.c +++ b/src/panfrost/vulkan/panvk_physical_device.c @@ -267,6 +267,7 @@ get_device_extensions(const struct panvk_physical_device *device, .KHR_shader_subgroup_extended_types = has_vk1_1, .KHR_shader_subgroup_rotate = true, .KHR_shader_subgroup_uniform_control_flow = has_vk1_1, + .KHR_shader_terminate_invocation = true, .KHR_spirv_1_4 = arch >= 10, .KHR_storage_buffer_storage_class = true, #ifdef PANVK_USE_WSI_PLATFORM @@ -473,7 +474,7 @@ get_features(const struct panvk_physical_device *device, .pipelineCreationCacheControl = true, .privateData = true, .shaderDemoteToHelperInvocation = false, - .shaderTerminateInvocation = false, + .shaderTerminateInvocation = true, .subgroupSizeControl = true, .computeFullSubgroups = true, .synchronization2 = true,