diff options
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_state.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_state.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/nv50/nv50_state.c b/src/gallium/drivers/nv50/nv50_state.c index 2f6fdb4c48c..3d6423b2238 100644 --- a/src/gallium/drivers/nv50/nv50_state.c +++ b/src/gallium/drivers/nv50/nv50_state.c @@ -90,9 +90,7 @@ nv50_blend_state_create(struct pipe_context *pipe, int i; boolean emit_common_func = cso->rt[0].blend_enable; - const uint32_t chipset = nv50_context(pipe)->screen->base.device->chipset; - - if (chipset >= 0xa3) { + if (nv50_context(pipe)->screen->tesla->grclass >= NVA3_3D) { SB_BEGIN_3D(so, BLEND_INDEPENDENT, 1); SB_DATA (so, cso->independent_blend_enable); } @@ -107,7 +105,7 @@ nv50_blend_state_create(struct pipe_context *pipe, emit_common_func = TRUE; } - if (chipset >= 0xa3) { + if (nv50_context(pipe)->screen->tesla->grclass >= NVA3_3D) { emit_common_func = FALSE; for (i = 0; i < 8; ++i) { |