summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_ir.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-03-21 15:40:39 -0600
committerBrian <[email protected]>2007-03-21 15:40:39 -0600
commit2500d82d0dc5015dc648067455231b7b963b54a5 (patch)
tree1bdad9cc569670acd7fa5491a0154f39c1c5fd9b /src/mesa/shader/slang/slang_ir.h
parent97c9b3ecc6da6058cf17840f6448617c7dc2be75 (diff)
Support for user-defined structures.
struct == and != operators not finished yet. Struct assignment works though.
Diffstat (limited to 'src/mesa/shader/slang/slang_ir.h')
-rw-r--r--src/mesa/shader/slang/slang_ir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_ir.h b/src/mesa/shader/slang/slang_ir.h
index b733d100ddc..3c5526e3c54 100644
--- a/src/mesa/shader/slang/slang_ir.h
+++ b/src/mesa/shader/slang/slang_ir.h
@@ -152,6 +152,7 @@ typedef struct slang_ir_node_
/** special fields depending on Opcode: */
const char *Field; /**< If Opcode == IR_FIELD */
+ int FieldOffset; /**< If Opcode == IR_FIELD */
GLuint Writemask; /**< If Opcode == IR_MOVE */
GLfloat Value[4]; /**< If Opcode == IR_FLOAT */
slang_variable *Var; /**< If Opcode == IR_VAR or IR_VAR_DECL */