diff options
author | Marek Olšák <[email protected]> | 2009-12-14 05:47:54 +0100 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-12-15 19:04:46 -0800 |
commit | cf85bf9cd0c168caed6210a896df285c3d86db03 (patch) | |
tree | 97df62e03d0b594435784f46293f7b936ce1d6e8 /src/gallium/drivers/r300/r300_reg.h | |
parent | de0befc4b2e3061f865a5b39295d64a8f003e9e8 (diff) |
r300g: set the number of colorbuffers in RB3D_CCTL
Diffstat (limited to 'src/gallium/drivers/r300/r300_reg.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_reg.h b/src/gallium/drivers/r300/r300_reg.h index c1ea87d11e9..d8d08fbe264 100644 --- a/src/gallium/drivers/r300/r300_reg.h +++ b/src/gallium/drivers/r300/r300_reg.h @@ -2145,6 +2145,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. /* Unpipelined. */ #define R300_RB3D_CCTL 0x4e00 +# define R300_RB3D_CCTL_NUM_MULTIWRITES(x) (MAX2(((x)-1), 0) << 5) # define R300_RB3D_CCTL_NUM_MULTIWRITES_1_BUFFER (0 << 5) # define R300_RB3D_CCTL_NUM_MULTIWRITES_2_BUFFERS (1 << 5) # define R300_RB3D_CCTL_NUM_MULTIWRITES_3_BUFFERS (2 << 5) |