radv: Advertise VK_KHR_shader_terminate_invocation.
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7226>
This commit is contained in:

committed by
Marge Bot

parent
bf955d5f0a
commit
e7ce74497e
@@ -8,5 +8,6 @@ VK_PRESENT_MODE_FIFO_RELAXED on X11
|
||||
GLX_EXT_swap_control for DRI2 and DRI3
|
||||
GLX_EXT_swap_control_tear for DRI3
|
||||
VK_KHR_copy_commands2 on RADV
|
||||
VK_KHR_shader_terminate_invocation on RADV
|
||||
NGG GS support in ACO
|
||||
VK_KHR_shader_terminate_invocation on ANV
|
||||
|
@@ -1424,6 +1424,12 @@ void radv_GetPhysicalDeviceFeatures2(
|
||||
features->formatA4B4G4R4 = true;
|
||||
break;
|
||||
}
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES_KHR: {
|
||||
VkPhysicalDeviceShaderTerminateInvocationFeaturesKHR *features =
|
||||
(VkPhysicalDeviceShaderTerminateInvocationFeaturesKHR *)ext;
|
||||
features->shaderTerminateInvocation = true;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@@ -101,6 +101,7 @@ EXTENSIONS = [
|
||||
Extension('VK_KHR_shader_float16_int8', 1, True),
|
||||
Extension('VK_KHR_shader_non_semantic_info', 1, True),
|
||||
Extension('VK_KHR_shader_subgroup_extended_types', 1, True),
|
||||
Extension('VK_KHR_shader_terminate_invocation', 1, True),
|
||||
Extension('VK_KHR_spirv_1_4', 1, True),
|
||||
Extension('VK_KHR_storage_buffer_storage_class', 1, True),
|
||||
Extension('VK_KHR_surface', 25, 'RADV_HAS_SURFACE'),
|
||||
|
Reference in New Issue
Block a user