diff options
author | Marek Olšák <[email protected]> | 2012-02-26 13:17:53 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-03-05 14:22:19 +0100 |
commit | aacd653834264b70a2537aff7914762b39f0683f (patch) | |
tree | 86e47810dadf569771f950b72051a494431349be /src/gallium/drivers/r600/r600_buffer.c | |
parent | 2881d456a5dd267bf2291532c9d95b1d48e93c08 (diff) |
r600g: rework scissor for r600-r700
We must use VPORT_SCISSOR, because that's the only one we can use for multiple
scissor rectangles in ARB_viewport_array.
R700 can use the VPORT_SCISSOR_ENABLE bit, but R600 doesn't have that and must
emit a 8192x8192 rectangle if scissor is disabled.
This commit also cleanups magic numbers in create_rs_state.
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_buffer.c')
0 files changed, 0 insertions, 0 deletions