diff options
author | Keith Whitwell <[email protected]> | 2007-08-24 18:30:00 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2007-08-25 22:01:32 +0100 |
commit | 07d97e80e616d9fdc437d3b41055c347d5c54932 (patch) | |
tree | a024dcf4a5939ae901d34e14611f4987039c150d /src/mesa/state_tracker/st_program.h | |
parent | 599ba515f979a343febbaf684a744ff525554727 (diff) |
checkpoint in constant tracking rework
Diffstat (limited to 'src/mesa/state_tracker/st_program.h')
-rw-r--r-- | src/mesa/state_tracker/st_program.h | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h index 883953399cf..7a91983ce9e 100644 --- a/src/mesa/state_tracker/st_program.h +++ b/src/mesa/state_tracker/st_program.h @@ -54,21 +54,7 @@ struct st_fragment_program struct tgsi_token tokens[ST_FP_MAX_TOKENS]; GLboolean dirty; -#if 0 - GLfloat (*cbuffer)[4]; - GLuint nr_constants; - - /* Translate all the parameters, etc, into a constant buffer which - * we update on state changes. - */ - struct - { - GLuint reg; /* Constant idx */ - const GLfloat *values; /* Pointer to tracked values */ - } *param; - GLuint nr_params; -#endif - + struct pipe_shader_state fs; GLuint param_state; }; @@ -89,9 +75,7 @@ struct st_vertex_program struct x86_function sse2_program; #endif -#if 0 - struct pipe_constant_buffer constants; -#endif + struct pipe_shader_state vs; GLuint param_state; }; |