summaryrefslogtreecommitdiffstats
path: root/src/mesa/slang/slang_ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/slang/slang_ir.h')
-rw-r--r--src/mesa/slang/slang_ir.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/slang/slang_ir.h b/src/mesa/slang/slang_ir.h
index 543cf0acc78..b7a373746b4 100644
--- a/src/mesa/slang/slang_ir.h
+++ b/src/mesa/slang/slang_ir.h
@@ -189,8 +189,10 @@ struct slang_ir_storage_
GLuint IndirectSwizzle;
GLuint TexTarget; /**< If File==PROGRAM_SAMPLER, one of TEXTURE_x_INDEX */
+ /* Is the register two-dimensional and
+ * if so what's the second index */
GLboolean Is2D;
- GLint Index2D;
+ GLint Index2;
/** If Parent is non-null, Index is relative to parent.
* The other fields are ignored.