summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_state_invariant.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-05-12 10:14:02 -0700
committerCorbin Simpson <[email protected]>2010-05-12 10:16:19 -0700
commit5f161261c70d680c6b227bbf84735348af0973c6 (patch)
tree14cd04ab53857f66c3b1485651120910a4132b60 /src/gallium/drivers/r300/r300_state_invariant.c
parent3bb1724f3796ad799a93c319e03eae48c0114f1e (diff)
r300g: Correct viewport setup for SW TCL.
glxgears now renders in the right place on-screen, although it is still rather...psychedelic.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_invariant.c')
-rw-r--r--src/gallium/drivers/r300/r300_state_invariant.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/r300/r300_state_invariant.c b/src/gallium/drivers/r300/r300_state_invariant.c
index cd9443fa260..34d3a169d57 100644
--- a/src/gallium/drivers/r300/r300_state_invariant.c
+++ b/src/gallium/drivers/r300/r300_state_invariant.c
@@ -27,11 +27,6 @@
#include "r300_screen.h"
#include "r300_state_invariant.h"
-struct pipe_viewport_state r300_viewport_identity = {
- .scale = {1.0, 1.0, 1.0, 1.0},
- .translate = {0.0, 0.0, 0.0, 0.0},
-};
-
/* Calculate and emit invariant state. This is data that the 3D engine
* will probably want at the beginning of every CS, but it's not currently
* handled by any CSO setup, and in addition it doesn't really change much.