summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-11-01 12:08:14 +0000
committerKeith Whitwell <keithw@vmware.com>2009-11-01 12:08:14 +0000
commit9b18ca095503eb80f02db55baf9c35aa69ae1cc9 (patch)
treece0814233d6965d15ce55337a005c16add89452a /src/gallium/drivers/i965/brw_context.h
parente7b76000826ff4faf8bf6a834d55b50a2784c9f2 (diff)
i965g: more work on compilation -- surface management
Diffstat (limited to 'src/gallium/drivers/i965/brw_context.h')
-rw-r--r--src/gallium/drivers/i965/brw_context.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gallium/drivers/i965/brw_context.h b/src/gallium/drivers/i965/brw_context.h
index 8067e20c96..471855ab63 100644
--- a/src/gallium/drivers/i965/brw_context.h
+++ b/src/gallium/drivers/i965/brw_context.h
@@ -146,6 +146,8 @@ struct brw_blend_state {
struct brw_cc3 cc3;
struct brw_cc5 cc5;
struct brw_cc6 cc6;
+
+ struct brw_surf_ss0 ss0;
};
@@ -501,15 +503,14 @@ struct brw_context
const struct brw_rasterizer_state *rast;
const struct brw_depth_stencil_state *zstencil;
- const struct brw_texture *texture[PIPE_MAX_SAMPLERS];
const struct brw_sampler *sampler[PIPE_MAX_SAMPLERS];
- unsigned num_textures;
+ const struct pipe_vertex_element vertex_element[PIPE_MAX_ATTRIBS];
+ unsigned num_vertex_elements;
unsigned num_samplers;
-
- struct pipe_vertex_element vertex_element[PIPE_MAX_ATTRIBS];
+ struct brw_texture *texture[PIPE_MAX_SAMPLERS];
struct pipe_vertex_buffer vertex_buffer[PIPE_MAX_ATTRIBS];
- unsigned num_vertex_elements;
+ unsigned num_textures;
unsigned num_vertex_buffers;
struct pipe_scissor_state scissor;