summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_ir.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-01-27 20:29:33 -0700
committerBrian <[email protected]>2007-01-27 20:29:33 -0700
commit513325fa32f802ffb3d3c8323ecf8216782620d3 (patch)
treee6b259e04f4f3656023c8609a592b5163cb16ffa /src/mesa/shader/slang/slang_ir.h
parentd6772f157a56bb53b754bb16c98e102b54c82a0e (diff)
Clean-up of var/temp allocation function parameters.
Diffstat (limited to 'src/mesa/shader/slang/slang_ir.h')
-rw-r--r--src/mesa/shader/slang/slang_ir.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_ir.h b/src/mesa/shader/slang/slang_ir.h
index e5a0fa8eb5f..24ed8e0dc61 100644
--- a/src/mesa/shader/slang/slang_ir.h
+++ b/src/mesa/shader/slang/slang_ir.h
@@ -102,13 +102,15 @@ typedef enum
/**
* Describes where data storage is allocated.
*/
-typedef struct
+struct _slang_ir_storage
{
enum register_file File; /**< PROGRAM_TEMPORARY, PROGRAM_INPUT, etc */
GLint Index; /**< -1 means unallocated */
GLint Size; /**< number of floats */
GLuint Swizzle;
-} slang_ir_storage;
+};
+
+typedef struct _slang_ir_storage slang_ir_storage;
/**