summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_state.c
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-05-27 22:55:18 +0200
committerJerome Glisse <jglisse@redhat.com>2010-05-27 23:24:17 +0200
commite68b4e50536b3438a3bb8c3d12acebc6845461a8 (patch)
treec1ff582f893a4d58392cf29fd232b2a0bda0eb71 /src/gallium/drivers/r600/r600_state.c
parentaeee52691ccb3afd24591ab3df30d7f243bc3eeb (diff)
r600g: fix driver + shader compiler backend change
Change the way we translate from c_compiler to the asic specific representation. Should make things simpler. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_state.c')
-rw-r--r--src/gallium/drivers/r600/r600_state.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c
index ac986af9f5..e70ef95c1d 100644
--- a/src/gallium/drivers/r600/r600_state.c
+++ b/src/gallium/drivers/r600/r600_state.c
@@ -444,8 +444,13 @@ static void r600_set_stencil_ref(struct pipe_context *ctx,
rctx->stencil_ref = *sr;
}
+static void r600_set_sample_mask(struct pipe_context *pipe, unsigned sample_mask)
+{
+}
+
void r600_init_state_functions(struct r600_context *rctx)
{
+ rctx->context.set_sample_mask = r600_set_sample_mask;
rctx->context.create_blend_state = r600_create_blend_state;
rctx->context.bind_blend_state = r600_bind_blend_state;
rctx->context.delete_blend_state = r600_delete_state;