Commit 1adb0868 authored by Rafael Antognolli's avatar Rafael Antognolli
Browse files

iris: Do not advertise multisampled image load/store.


Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
parent 11518384
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment