mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 21:00:17 +01:00
iris: Do not advertise multisampled image load/store.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
9cb8037e54
commit
b15f5cfd20
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue