Mesa (master): ac/nir: set image=true when loading FMASK for images

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Aug 19 22:02:28 UTC 2019


Module: Mesa
Branch: master
Commit: 21217efdfe094451c6252e9d4fa56f2de53f1bb6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=21217efdfe094451c6252e9d4fa56f2de53f1bb6

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Aug  6 21:07:21 2019 -0400

ac/nir: set image=true when loading FMASK for images

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>

---

 src/amd/common/ac_nir_to_llvm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index b981d4cc897..ffac5ccea74 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -2441,7 +2441,7 @@ static void get_image_coords(struct ac_nir_context *ctx,
 							       fmask_load_address[2],
 							       sample_index,
 							       get_sampler_desc(ctx, nir_instr_as_deref(instr->src[0].ssa->parent_instr),
-										AC_DESC_FMASK, &instr->instr, false, false));
+										AC_DESC_FMASK, &instr->instr, true, false));
 	}
 	if (count == 1 && !gfx9_1d) {
 		if (instr->src[1].ssa->num_components)




More information about the mesa-commit mailing list