mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-26 17:40:39 +02:00
radeonsi: fix has_non_uniform_tex_access info
Fixes: f859436b55 ("radeonsi: add has_non_uniform_tex_access shader info")
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33440>
This commit is contained in:
parent
9ef01a0f98
commit
c805ea6792
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ static void scan_instruction(const struct nir_shader *nir, struct si_shader_info
|
|||
info->uses_indirect_descriptor = true;
|
||||
}
|
||||
|
||||
info->has_non_uniform_tex_access =
|
||||
info->has_non_uniform_tex_access |=
|
||||
tex->texture_non_uniform || tex->sampler_non_uniform;
|
||||
|
||||
info->has_shadow_comparison |= tex->is_shadow;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue