diff options
author | Marek Olšák <[email protected]> | 2020-05-24 15:52:26 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-02 20:47:49 +0000 |
commit | cac24bee6202d5bf1c16caa8174494747fa2d56c (patch) | |
tree | abedb8341b942ea27736194aaaf11417a14302da /src/gallium/drivers/radeonsi | |
parent | 6503e4be13099f41a4c287ae1983362856a39f44 (diff) |
nir: gather which images are MSAA
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5209>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c index 07be19f4206..03b04ba0293 100644 --- a/src/gallium/drivers/radeonsi/si_shader_nir.c +++ b/src/gallium/drivers/radeonsi/si_shader_nir.c @@ -718,7 +718,7 @@ void si_nir_scan_shader(const struct nir_shader *nir, struct si_shader_info *inf if (nir->num_uniforms > 0) info->const_buffers_declared |= 1; info->images_declared = u_bit_consecutive(0, nir->info.num_images); - info->msaa_images_declared = u_bit_consecutive(0, nir->info.last_msaa_image + 1); + info->msaa_images_declared = nir->info.msaa_images; info->samplers_declared = nir->info.textures_used; info->num_written_clipdistance = nir->info.clip_distance_array_size; |