mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
agx: Clear sample count after lowering MSAA
Pedantic. 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
a51c3f638b
commit
c8ea02a883
1 changed files with 1 additions and 0 deletions
|
|
@ -864,6 +864,7 @@ lower_multisampled_store(nir_builder *b, nir_instr *instr, UNUSED void *data)
|
|||
nir_def *coord2d = coords_for_buffer_texture(b, index_px);
|
||||
|
||||
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);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue