aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3/ir3_shader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3_shader.h')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_shader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_shader.h b/src/gallium/drivers/freedreno/ir3/ir3_shader.h
index b237f8a08fe..6bc24f47d75 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_shader.h
+++ b/src/gallium/drivers/freedreno/ir3/ir3_shader.h
@@ -298,8 +298,8 @@ struct ir3_shader_variant {
*/
unsigned varying_in;
- /* do we have one or more texture sample instructions: */
- bool has_samp;
+ /* number of samplers/textures (which are currently 1:1): */
+ int num_samp;
/* do we have one or more SSBO instructions: */
bool has_ssbo;