Rework of shader constant buffers.

They're now totally independent of the actual shaders.
Also, implemented in terms of pipe_buffer_handles/objects.
This commit is contained in:
Brian
2007-08-22 12:24:51 -06:00
parent d1fbf621dc
commit c0bb4ba9e6
25 changed files with 257 additions and 125 deletions

View File

@@ -53,8 +53,6 @@ struct st_fragment_program
struct tgsi_token tokens[ST_FP_MAX_TOKENS];
GLboolean dirty;
struct pipe_constant_buffer constants;
#if 0
GLfloat (*cbuffer)[4];
GLuint nr_constants;
@@ -85,7 +83,9 @@ struct st_vertex_program
struct tgsi_token tokens[ST_FP_MAX_TOKENS];
GLboolean dirty;
#if 0
struct pipe_constant_buffer constants;
#endif
GLuint param_state;
};