r300g: Move ztop to derived state.
[mesa.git] / src / gallium / drivers / r300 / r300_state_invariant.c
index 7d822fec483996d767c8f920daaee978e148fa98..3865730d635cfef71354eb38f609f5428ffa6ed9 100644 (file)
 
 #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.