Mesa (master): iris: Do not advertise multisampled image load/store.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Apr 30 00:06:31 UTC 2019
Module: Mesa
Branch: master
Commit: b15f5cfd20c8b079918dd19bed32de7cc9617100
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b15f5cfd20c8b079918dd19bed32de7cc9617100
Author: Rafael Antognolli <rafael.antognolli at intel.com>
Date: Mon Apr 29 16:02:58 2019 -0700
iris: Do not advertise multisampled image load/store.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/gallium/drivers/iris/iris_formats.c | 5 +++++
1 file changed, 5 insertions(+)
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);
More information about the mesa-commit
mailing list