Convert shader to an immutable state object.

This commit is contained in:
Zack Rusin
2007-09-18 13:24:44 -04:00
parent 498a1b5dc4
commit ccd63b54cf
27 changed files with 176 additions and 85 deletions

View File

@@ -53,8 +53,8 @@ struct st_fragment_program
struct tgsi_token tokens[ST_FP_MAX_TOKENS];
GLboolean dirty;
struct pipe_shader_state fs;
const struct pipe_shader_state *fsx;
GLuint param_state;
};
@@ -75,7 +75,7 @@ struct st_vertex_program
struct x86_function sse2_program;
#endif
struct pipe_shader_state vs;
const struct pipe_shader_state *vs;
GLuint param_state;
};