projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f52b921
)
ac/nir: set image=true when loading FMASK for images
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 7 Aug 2019 01:07:21 +0000
(21:07 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 19 Aug 2019 21:23:38 +0000
(17:23 -0400)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/amd/common/ac_nir_to_llvm.c
patch
|
blob
|
history
diff --git
a/src/amd/common/ac_nir_to_llvm.c
b/src/amd/common/ac_nir_to_llvm.c
index b981d4cc897d68227c62d8eab0cd5e7fc780d250..ffac5ccea744a0e0e662703e73dc1a0320482f72 100644
(file)
--- 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,
fals
e, false));
+ AC_DESC_FMASK, &instr->instr,
tru
e, false));
}
if (count == 1 && !gfx9_1d) {
if (instr->src[1].ssa->num_components)