summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mtypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index deab97d3ec4..47282c0aed5 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2158,6 +2158,9 @@ struct gl_shader
unsigned Version; /**< GLSL version used for linking */
+ unsigned num_samplers; /**< Number of samplers used by this shader.
+ * This field is only set post-linking.
+ */
struct exec_list *ir;
struct glsl_symbol_table *symbols;