summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorChristian König <[email protected]>2013-03-10 14:33:29 +0100
committerChristian König <[email protected]>2013-03-19 13:38:32 +0100
commit3f67251e3d0ce61a0e7fc16de91de6fb49cad768 (patch)
tree0a061f72cd9bfea678f83437aad426a60cf615fe /src/mesa/main
parent433b2ca46be2e9bb2f8e787efd6e040b57b998c4 (diff)
glsl_to_tgsi: allocate arrays separately v2
Instead of allocating everything as temporaries, use the new array allocation functions. v2: fix bug in simplify_cmp, declare arrays on demand Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/mtypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 83b6c898466..8c38aa79477 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1796,6 +1796,7 @@ struct gl_transform_feedback_state
typedef enum
{
PROGRAM_TEMPORARY, /**< machine->Temporary[] */
+ PROGRAM_ARRAY, /**< Arrays & Matrixes */
PROGRAM_INPUT, /**< machine->Inputs[] */
PROGRAM_OUTPUT, /**< machine->Outputs[] */
PROGRAM_LOCAL_PARAM, /**< gl_program->LocalParams[] */