summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_state.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-05-16 08:47:36 -0700
committerCorbin Simpson <[email protected]>2009-05-16 10:07:58 -0700
commit13131adbf1beb3e4222ce16c32ac7910a4a5331b (patch)
treec0babbda1bc045005a54dadd628cd92757231453 /src/gallium/drivers/r300/r300_state.c
parent57fd20237541c34ed06587bca9f5a58c8a63fbf4 (diff)
r300-gallium: Various cleanups leftover from before.
BEGIN/END_CS pair, a few asserts, and a slightly more correct VTE setup.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r--src/gallium/drivers/r300/r300_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index 2118f7706fc..49b93a420b1 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -562,7 +562,7 @@ static void r300_set_viewport_state(struct pipe_context* pipe,
if (r300_screen(r300->context.screen)->caps->has_tcl) {
/* Do the transform in HW. */
- r300->viewport_state->vte_control = R300_VTX_W0_FMT;
+ r300->viewport_state->vte_control = R300_VTX_XY_FMT | R300_VTX_Z_FMT;
if (state->scale[0] != 1.0f) {
assert(state->scale[0] != 0.0f);