iris: Do not advertise multisampled image load/store.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
9cb8037e54
commit
b15f5cfd20
|
@ -454,6 +454,11 @@ iris_is_format_supported(struct pipe_screen *pscreen,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (usage & PIPE_BIND_SHADER_IMAGE) {
|
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
|
// XXX: allow untyped reads
|
||||||
supported &= isl_format_supports_typed_reads(devinfo, format) &&
|
supported &= isl_format_supports_typed_reads(devinfo, format) &&
|
||||||
isl_format_supports_typed_writes(devinfo, format);
|
isl_format_supports_typed_writes(devinfo, format);
|
||||||
|
|
Loading…
Reference in New Issue