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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user