diff options
author | Marek Olšák <[email protected]> | 2020-04-26 07:45:34 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-30 22:27:31 +0000 |
commit | d3da73954a639f8e43e6d22ac3f16a786d5e37cb (patch) | |
tree | aedd27d3391eb0db566d235e59ef6dfb91b09ca2 /src/gallium/drivers/radeonsi/si_texture.c | |
parent | 93d5c860812a2565348d07cc1a00bb973f37f034 (diff) |
radeonsi: add SI_IMAGE_ACCESS_DCC_OFF to ignore DCC for shader images
A shader-based DCC decompress pass will use this.
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4761>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_texture.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_texture.c b/src/gallium/drivers/radeonsi/si_texture.c index 0b29fc44bf3..afe79550fe1 100644 --- a/src/gallium/drivers/radeonsi/si_texture.c +++ b/src/gallium/drivers/radeonsi/si_texture.c @@ -661,7 +661,7 @@ static void si_set_tex_bo_metadata(struct si_screen *sscreen, struct si_texture res->width0, res->height0, res->depth0, desc, NULL); si_set_mutable_tex_desc_fields(sscreen, tex, &tex->surface.u.legacy.level[0], 0, 0, - tex->surface.blk_w, false, desc); + tex->surface.blk_w, false, false, desc); /* Clear the base address and set the relative DCC offset. */ desc[0] = 0; |