diff options
author | Luca Barbieri <luca@luca-barbieri.com> | 2010-02-23 15:34:35 +0100 |
---|---|---|
committer | Luca Barbieri <luca@luca-barbieri.com> | 2010-04-12 12:13:17 +0200 |
commit | 4b3b54d7463183099b4132367c23bfa112f6a1b0 (patch) | |
tree | 2a3c5d3088b94c96b347387a104412ef82be8174 /src/gallium/drivers/nvfx/nvfx_state_blend.c | |
parent | 180654d2bbb1b800b07587ad9557258ce67fe094 (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.c | 4 |
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 } }; |