diff options
author | Eric Anholt <eric@anholt.net> | 2010-04-29 09:02:09 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-24 15:05:19 -0700 |
commit | 84771df82ed2ed8718013795089edd38cf5bd84d (patch) | |
tree | 44ef28d26546dc7375a22c357f350acc40b77a69 /program.h | |
parent | 9290e0dd28e646c3dc810e0a6405582f8bf643b6 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |