Track and print user defined structure types

This commit is contained in:
Ian Romanick
2010-04-28 13:14:53 -07:00
parent 36d8a64a95
commit a2c6df5566
3 changed files with 35 additions and 1 deletions

View File

@@ -61,6 +61,10 @@ struct _mesa_glsl_parse_state {
/** Loop or switch statement containing the current instructions. */
class ir_instruction *loop_or_switch_nesting;
/** List of structures defined in user code. */
const glsl_type **user_structures;
unsigned num_user_structures;
/**
* \name Enable bits for GLSL extensions
*/