From 9be50237d530b921c4a4d408cb9e7faf89ffd9b5 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 10 May 2022 11:12:18 -0500 Subject: [PATCH] gallium: Set shader_info::samplers_used in pstipple_fs Reviewed-by: Emma Anholt Reviewed-by: Karol Herbst Part-of: --- src/gallium/auxiliary/nir/nir_draw_helpers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/nir/nir_draw_helpers.c b/src/gallium/auxiliary/nir/nir_draw_helpers.c index 5122ce401f7..daa1fcb260b 100644 --- a/src/gallium/auxiliary/nir/nir_draw_helpers.c +++ b/src/gallium/auxiliary/nir/nir_draw_helpers.c @@ -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) {