summaryrefslogtreecommitdiffstats
path: root/program.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-04-29 09:02:09 -0700
committerEric Anholt <[email protected]>2010-06-24 15:05:19 -0700
commit84771df82ed2ed8718013795089edd38cf5bd84d (patch)
tree44ef28d26546dc7375a22c357f350acc40b77a69 /program.h
parent9290e0dd28e646c3dc810e0a6405582f8bf643b6 (diff)
ir_to_mesa: Start building GLSL IR to Mesa IR conversion.
There are major missing pieces here. Most operations aren't supported. Matrices need to be broken down to vector ops before we get here. Scalar operations (RSQ, RCP) are handled incorrectly. Arrays and structures are not even considered.
Diffstat (limited to 'program.h')
-rw-r--r--program.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/program.h b/program.h
index 5c900b53cc0..d21b04344cd 100644
--- a/program.h
+++ b/program.h
@@ -22,6 +22,7 @@
*/
#include <GL/gl.h>
+#include "main/mtypes.h"
/**
* Based on gl_shader in Mesa's mtypes.h.
@@ -41,7 +42,6 @@ struct glsl_shader {
};
-typedef int gl_register_file;
typedef int gl_state_index;
#define STATE_LENGTH 5