Module: Mesa Branch: main Commit: 9be50237d530b921c4a4d408cb9e7faf89ffd9b5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9be50237d530b921c4a4d408cb9e7faf89ffd9b5
Author: Jason Ekstrand <[email protected]> Date: Tue May 10 11:12:18 2022 -0500 gallium: Set shader_info::samplers_used in pstipple_fs Reviewed-by: Emma Anholt <[email protected]> Reviewed-by: Karol Herbst <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16435> --- 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) {
