summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvfx/nvfx_state_blend.c
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-02-23 15:34:35 +0100
committerLuca Barbieri <luca@luca-barbieri.com>2010-04-12 12:13:17 +0200
commit4b3b54d7463183099b4132367c23bfa112f6a1b0 (patch)
tree2a3c5d3088b94c96b347387a104412ef82be8174 /src/gallium/drivers/nvfx/nvfx_state_blend.c
parent180654d2bbb1b800b07587ad9557258ce67fe094 (diff)
nvfx: so->sb: blend
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_state_blend.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_state_blend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_state_blend.c b/src/gallium/drivers/nvfx/nvfx_state_blend.c
index a6a0f9b16f..f54eabd642 100644
--- a/src/gallium/drivers/nvfx/nvfx_state_blend.c
+++ b/src/gallium/drivers/nvfx/nvfx_state_blend.c
@@ -3,7 +3,8 @@
static boolean
nvfx_state_blend_validate(struct nvfx_context *nvfx)
{
- so_ref(nvfx->blend->so, &nvfx->state.hw[NVFX_STATE_BLEND]);
+ struct nouveau_channel* chan = nvfx->screen->base.channel;
+ sb_emit(chan, nvfx->blend->sb, nvfx->blend->sb_len);
return TRUE;
}
@@ -11,7 +12,6 @@ struct nvfx_state_entry nvfx_state_blend = {
.validate = nvfx_state_blend_validate,
.dirty = {
.pipe = NVFX_NEW_BLEND,
- .hw = NVFX_STATE_BLEND
}
};