gallium: Set shader_info::samplers_used in pstipple_fs

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:
Jason Ekstrand 2022-05-10 11:12:18 -05:00 committed by Marge Bot
parent 3000ca360b
commit 9be50237d5

View file

@ -135,6 +135,7 @@ nir_lower_pstipple_fs(struct nir_shader *shader,
tex_var->data.how_declared = nir_var_hidden;
BITSET_SET(shader->info.textures_used, binding);
BITSET_SET(shader->info.samplers_used, binding);
state.stip_tex = tex_var;
nir_foreach_function(function, shader) {