diff options
author | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-09-06 15:10:59 +0200 |
---|---|---|
committer | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-09-06 15:14:22 +0200 |
commit | 1ddb22675c123fc955ad3ab46bba45d3330d2ec4 (patch) | |
tree | 88a7d6b5b9eb72cf7d571243a6e2e7a8dc7e7c82 /src/gallium/drivers/r300/r300_state_invariant.c | |
parent | 4b01e6f614052e48971f2b2ff474fb66afc4f752 (diff) |
r300g: Fix a number of warnings
Seriously guys....
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_invariant.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state_invariant.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state_invariant.c b/src/gallium/drivers/r300/r300_state_invariant.c index 7d822fec48..3865730d63 100644 --- a/src/gallium/drivers/r300/r300_state_invariant.c +++ b/src/gallium/drivers/r300/r300_state_invariant.c @@ -23,6 +23,12 @@ #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. |