diff options
author | Christoph Bumiller <[email protected]> | 2011-03-02 19:41:08 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-03-02 20:59:53 +0100 |
commit | ddcb90248fb491a3a9e2ada8c595f94b0bd95515 (patch) | |
tree | b8ec8a04d79dc45145d65df9c9d55b4ed570c550 /src/gallium/drivers/nv50/nv50_stateobj.h | |
parent | 669de7016ce3e95c6d1e4ee8e41b5bfe95f32105 (diff) |
nv50: implement independent blend functions for nva3+ and fix cap
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_stateobj.h')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_stateobj.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_stateobj.h b/src/gallium/drivers/nv50/nv50_stateobj.h index 49f1837bfeb..f4e458b0c05 100644 --- a/src/gallium/drivers/nv50/nv50_stateobj.h +++ b/src/gallium/drivers/nv50/nv50_stateobj.h @@ -10,12 +10,16 @@ (so)->state[(so)->size++] = \ ((s) << 18) | (NV50_SUBCH_3D << 13) | NV50_3D_##m +#define SB_BEGIN_3D_(so, m, s) \ + (so)->state[(so)->size++] = \ + ((s) << 18) | (NV50_SUBCH_3D << 13) | m + #define SB_DATA(so, u) (so)->state[(so)->size++] = (u) struct nv50_blend_stateobj { struct pipe_blend_state pipe; int size; - uint32_t state[29]; + uint32_t state[78]; }; struct nv50_tsc_entry { |