ac/nir: set image=true when loading FMASK for images
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
This commit is contained in:
parent
f52b9218ff
commit
21217efdfe
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue