lavapipe: add support for KHR_shader_float_controls

These pass all the CTS tests, though not sure how useful they are.

[airlied: these may need some work in the future depending on app expectations]

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12953>
This commit is contained in:
Mike Blumenkrantz
2021-07-06 15:43:54 -04:00
committed by Dave Airlie
parent 0e3fcc20d5
commit a8e123cd1c
2 changed files with 25 additions and 0 deletions

View File

@@ -483,6 +483,7 @@ lvp_shader_compile_to_ir(struct lvp_pipeline *pipeline,
.int16 = true,
.int64 = (pdevice->pscreen->get_param(pdevice->pscreen, PIPE_CAP_INT64) == 1),
.tessellation = true,
.float_controls = true,
.image_ms_array = true,
.image_read_without_format = true,
.image_write_without_format = true,