turnip: implement VK_KHR_shader_float_controls
authorJonathan Marek <jonathan@marek.ca>
Tue, 23 Mar 2021 13:20:41 +0000 (15:20 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 1 Apr 2021 17:51:07 +0000 (17:51 +0000)
commit3777ecdf119bf3ae979ac5524d7ccfef68617b7e
treebcdfb0c39adbe5d5f3435c6da6447e996f5b83d3
parentde195671bdb4fde7cdebd6cecd28206d08551d15
turnip: implement VK_KHR_shader_float_controls

This matches the blob and doesn't require actually implementing controls
since the supported modes are just what the HW does.

Passes tests under:

dEQP-VK.spirv_assembly.*.float_controls.*

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9840>
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_extensions.py
src/freedreno/vulkan/tu_shader.c