turnip: implement VK_KHR_shader_terminate_invocation

OpTerminateInvocation provides the behavior required by the GLSL
discard statement, which we already implement.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9460>
This commit is contained in:
Danylo Piliaiev
2021-03-05 20:28:54 +02:00
committed by Marge Bot
parent 9dd9424a85
commit 64367f2359
4 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -494,7 +494,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_EXT_sample_locations DONE (anv, radv, tu/a650)
VK_KHR_shader_clock DONE (anv, radv)
VK_KHR_shader_non_semantic_info DONE (anv, radv)
VK_KHR_shader_terminate_invocation DONE (anv, radv)
VK_KHR_shader_terminate_invocation DONE (anv, radv, tu)
VK_KHR_shared_presentable_image not started
VK_KHR_surface DONE (anv, lvp, radv, tu, v3dv)
VK_KHR_surface_protected_capabilities DONE (anv, lvp, radv)