mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
agx: Clear image_array after lowering
We lower to access to a non-array 2D image, so we need to update the image_array flag when we lower or otherwise we get an incorrect 2D Array store to a 2D image which the hardware doesn't want. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24847>
This commit is contained in:
parent
c8ea02a883
commit
8ae3eebba4
1 changed files with 1 additions and 0 deletions
|
|
@ -866,6 +866,7 @@ lower_multisampled_store(nir_builder *b, nir_instr *instr, UNUSED void *data)
|
|||
nir_src_rewrite(&intr->src[1], nir_pad_vector(b, coord2d, 4));
|
||||
nir_src_rewrite(&intr->src[2], nir_imm_int(b, 0));
|
||||
nir_intrinsic_set_image_dim(intr, GLSL_SAMPLER_DIM_2D);
|
||||
nir_intrinsic_set_image_array(intr, false);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue