summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-10-26 01:11:36 +0000
committerKeith Whitwell <keithw@vmware.com>2009-10-26 01:35:05 +0000
commit5a304995e09d8dbfd40a2dfab32eacb7e85798e3 (patch)
tree05d518939574519c466e3b34cfc2b1a1b8db2c3c /src/gallium/drivers/i965/brw_context.h
parent09c231f84a20a306a173b60c82484ce1f9331edf (diff)
i965g: still working on compilation
Diffstat (limited to 'src/gallium/drivers/i965/brw_context.h')
-rw-r--r--src/gallium/drivers/i965/brw_context.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/gallium/drivers/i965/brw_context.h b/src/gallium/drivers/i965/brw_context.h
index 10c1cf6f33..8aaf895d20 100644
--- a/src/gallium/drivers/i965/brw_context.h
+++ b/src/gallium/drivers/i965/brw_context.h
@@ -154,6 +154,7 @@ struct brw_vertex_shader {
const struct tgsi_token *tokens;
struct tgsi_shader_info info;
+ unsigned id;
struct brw_winsys_buffer *const_buffer; /** Program constant buffer/surface */
GLboolean use_const_buffer;
};
@@ -165,6 +166,7 @@ struct brw_fragment_shader {
GLboolean isGLSL;
+ unsigned id;
struct brw_winsys_buffer *const_buffer; /** Program constant buffer/surface */
GLboolean use_const_buffer;
};
@@ -280,10 +282,13 @@ struct brw_vs_prog_data {
GLuint curb_read_length;
GLuint urb_read_length;
GLuint total_grf;
- GLuint nr_outputs_written;
- GLuint nr_params; /**< number of float params/constants */
- GLuint inputs_read;
+ GLuint nr_outputs;
+ GLuint nr_inputs;
+
+ GLuint nr_params; /**< number of TGSI_FILE_CONSTANT's */
+
+ GLboolean copy_edgeflag;
/* Used for calculating urb partitions:
*/
@@ -475,8 +480,8 @@ struct brw_context
/* Active state from the state tracker:
*/
struct {
- const struct brw_vertex_shader *vertex_shader;
- const struct brw_fragment_shader *fragment_shader;
+ struct brw_vertex_shader *vertex_shader;
+ struct brw_fragment_shader *fragment_shader;
const struct brw_blend_state *blend;
const struct brw_rasterizer_state *rast;
const struct brw_depth_stencil_state *zstencil;