diff options
author | Patrice Mandin <[email protected]> | 2008-07-03 21:11:07 +0200 |
---|---|---|
committer | Patrice Mandin <[email protected]> | 2008-07-03 21:11:07 +0200 |
commit | 52cf7a6c1ccc987859834b640a5ec0a62f84134a (patch) | |
tree | 78f662137171d27ebc45d3e63104e32efb95b8b3 /src/gallium/drivers/nv30/nv30_state.c | |
parent | 36488ed052a18f7eafef1d1c5c18b20ad508b2b7 (diff) |
nv30: Emit blend color state using state objects
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_state.c')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_state.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gallium/drivers/nv30/nv30_state.c b/src/gallium/drivers/nv30/nv30_state.c index 3edfb0874da..e67a701809a 100644 --- a/src/gallium/drivers/nv30/nv30_state.c +++ b/src/gallium/drivers/nv30/nv30_state.c @@ -531,11 +531,8 @@ nv30_set_blend_color(struct pipe_context *pipe, { struct nv30_context *nv30 = nv30_context(pipe); - BEGIN_RING(rankine, NV34TCL_BLEND_COLOR, 1); - OUT_RING ((float_to_ubyte(bcol->color[3]) << 24) | - (float_to_ubyte(bcol->color[0]) << 16) | - (float_to_ubyte(bcol->color[1]) << 8) | - (float_to_ubyte(bcol->color[2]) << 0)); + nv30->blend_colour = *bcol; + nv30->dirty |= NV30_NEW_BCOL; } static void |