mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
ttn: Set shader_info::samplers_used
Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16435>
This commit is contained in:
parent
9be50237d5
commit
cdeb55fc36
1 changed files with 1 additions and 0 deletions
|
|
@ -1263,6 +1263,7 @@ get_sampler_var(struct ttn_compile *c, int binding,
|
|||
BITSET_SET(c->build.shader->info.textures_used, binding);
|
||||
if (op == nir_texop_txf || op == nir_texop_txf_ms)
|
||||
BITSET_SET(c->build.shader->info.textures_used_by_txf, binding);
|
||||
BITSET_SET(c->build.shader->info.samplers_used, binding);
|
||||
}
|
||||
|
||||
return var;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue