summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-10-31 20:05:19 +0000
committerKeith Whitwell <keithw@vmware.com>2009-10-31 20:05:19 +0000
commite7b76000826ff4faf8bf6a834d55b50a2784c9f2 (patch)
tree271b98513650b01129e9b83e382874ba73da1586 /src/gallium/drivers/i965/brw_context.h
parentf202a34cb1eca41cf5d12bd72016f284bc81ccf8 (diff)
i965g: more work on compilation
Diffstat (limited to 'src/gallium/drivers/i965/brw_context.h')
-rw-r--r--src/gallium/drivers/i965/brw_context.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_context.h b/src/gallium/drivers/i965/brw_context.h
index e6c3161066..8067e20c96 100644
--- a/src/gallium/drivers/i965/brw_context.h
+++ b/src/gallium/drivers/i965/brw_context.h
@@ -177,6 +177,14 @@ struct brw_fragment_shader {
};
+struct brw_sampler {
+ struct pipe_sampler_state templ;
+ struct brw_ss0 ss0;
+ struct brw_ss1 ss1;
+ struct brw_ss3 ss3;
+};
+
+
#define PIPE_NEW_DEPTH_STENCIL_ALPHA 0x1
#define PIPE_NEW_RAST 0x2
@@ -494,7 +502,7 @@ struct brw_context
const struct brw_depth_stencil_state *zstencil;
const struct brw_texture *texture[PIPE_MAX_SAMPLERS];
- const struct pipe_sampler *sampler[PIPE_MAX_SAMPLERS];
+ const struct brw_sampler *sampler[PIPE_MAX_SAMPLERS];
unsigned num_textures;
unsigned num_samplers;