aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_formats.c
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2019-04-29 16:02:58 -0700
committerRafael Antognolli <[email protected]>2019-04-29 17:04:04 -0700
commitb15f5cfd20c8b079918dd19bed32de7cc9617100 (patch)
tree3225f0c53bb8669aad871e5859b358c708cb00cd /src/gallium/drivers/iris/iris_formats.c
parent9cb8037e541c5b46650b57a116de0d03f51a1073 (diff)
iris: Do not advertise multisampled image load/store.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/iris/iris_formats.c')
-rw-r--r--src/gallium/drivers/iris/iris_formats.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_formats.c b/src/gallium/drivers/iris/iris_formats.c
index 91a5e9e5982..1c32f1a6aa1 100644
--- a/src/gallium/drivers/iris/iris_formats.c
+++ b/src/gallium/drivers/iris/iris_formats.c
@@ -454,6 +454,11 @@ iris_is_format_supported(struct pipe_screen *pscreen,
}
if (usage & PIPE_BIND_SHADER_IMAGE) {
+ /* Dataport doesn't support compression, and we can't resolve an MCS
+ * compressed surface.
+ */
+ supported &= sample_count == 1;
+
// XXX: allow untyped reads
supported &= isl_format_supports_typed_reads(devinfo, format) &&
isl_format_supports_typed_writes(devinfo, format);