nvk: Only advertise VK_KHR_shader_terminate_invocation if using NAK
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26197>
This commit is contained in:
parent
fcfa68a632
commit
82061b1b9d
1 changed files with 2 additions and 1 deletions
|
|
@ -81,7 +81,8 @@ nvk_get_device_extensions(const struct nv_device_info *info,
|
|||
.KHR_shader_clock = true,
|
||||
.KHR_shader_draw_parameters = true,
|
||||
.KHR_shader_non_semantic_info = true,
|
||||
.KHR_shader_terminate_invocation = true,
|
||||
.KHR_shader_terminate_invocation =
|
||||
(nvk_nak_stages(info) & VK_SHADER_STAGE_FRAGMENT_BIT) != 0,
|
||||
.KHR_spirv_1_4 = true,
|
||||
.KHR_storage_buffer_storage_class = true,
|
||||
.KHR_timeline_semaphore = true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue