diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-09-20 11:58:00 -0400 |
---|---|---|
committer | Jerome Glisse <jglisse@redhat.com> | 2010-09-20 11:59:20 -0400 |
commit | 363dfb83f1ca7f1ab09eec30aeb89732c5ce3e02 (patch) | |
tree | 909be9a4766d6af3f5a22730a9595e8ed2a23921 /src/gallium/drivers/r600/r600_state.c | |
parent | 6ea16b6c510ee7f0e68505838a99562f0852f8e4 (diff) |
r600g: move chip class to radeon common structure
So texture code can be shared btw new state design
& old one.
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index 2b97c2a94e..424f7a8913 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -527,7 +527,7 @@ void r600_init_state_functions(struct r600_context *rctx) rctx->context.set_blend_color = r600_set_blend_color; rctx->context.set_clip_state = r600_set_clip_state; - if (rctx->screen->chip_class == EVERGREEN) + if (radeon_get_family_class(rctx->rw) == EVERGREEN) rctx->context.set_constant_buffer = eg_set_constant_buffer; else if (rctx->screen->use_mem_constant) rctx->context.set_constant_buffer = r600_set_constant_buffer_mem; |