mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +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> (cherry picked from commitc805ea6792)
This commit is contained in:
parent
92e02eebea
commit
a9f218a966
2 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@
|
|||
"description": "radeonsi: fix has_non_uniform_tex_access info",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "f859436b55711684602336f8d9a8dc498ad5fe16",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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