summaryrefslogtreecommitdiff
path: root/program.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-06-24 15:21:51 -0700
committerEric Anholt <eric@anholt.net>2010-06-24 15:27:10 -0700
commit0ee7d80269bfab14683623b0c8fc12da43db8d78 (patch)
tree7b2a65190c9934ed8a0ff02f2845323c420153a3 /program.h
parent6b01b50888d22ee330df44240591051cb55cf2a9 (diff)
parent8364fc85b8273b4d0f2ecebe7e0085e250d29990 (diff)
Merge branch 'mesa'
This brings in the ir_to_mesa.cpp code I've been developing to codegen to the Mesa IR. It does not actually generate a complete Mesa fragment/vertex program yet.
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 5c900b53cc..d21b04344c 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