lvp: Fix vtn warnings about unsupported image read/write without format.
authorEric Anholt <eric@anholt.net>
Mon, 21 Dec 2020 19:08:11 +0000 (11:08 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 21 Dec 2020 20:33:35 +0000 (20:33 +0000)
These are just warnings printed to the console and don't affect testcase
pass/fail, but clog up the deqp-runner job logs.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8188>

src/gallium/frontends/lavapipe/lvp_pipeline.c

index b83e0c6..cac7509 100644 (file)
@@ -500,6 +500,8 @@ lvp_shader_compile_to_ir(struct lvp_pipeline *pipeline,
          .int64 = (pdevice->pscreen->get_param(pdevice->pscreen, PIPE_CAP_INT64) == 1),
          .tessellation = true,
          .image_ms_array = true,
+         .image_read_without_format = true,
+         .image_write_without_format = true,
          .storage_image_ms = true,
          .geometry_streams = true,
          .storage_16bit = true,