summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_surface.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-28 11:21:29 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-28 11:22:40 -0800
commit731aa326fff37cdee4867f61c3f7491d0378de7a (patch)
tree083297b5a331208ad5b6eeb25562f14c2db275ad /src/gallium/drivers/r300/r300_surface.h
parent2b7d39da1f5445e1b0beb3b8b1ef9004e684c600 (diff)
r300-gallium: Use rs_state emit for r300_surface, move a few things around.
Also a possible fix for non-TCL chipsets and trivial/clear.
Diffstat (limited to 'src/gallium/drivers/r300/r300_surface.h')
-rw-r--r--src/gallium/drivers/r300/r300_surface.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_surface.h b/src/gallium/drivers/r300/r300_surface.h
index 442eac2cf2..807aad39e4 100644
--- a/src/gallium/drivers/r300/r300_surface.h
+++ b/src/gallium/drivers/r300/r300_surface.h
@@ -57,4 +57,16 @@ const struct r300_dsa_state dsa_clear_state = {
.stencil_ref_bf = 0x0,
};
+const struct r300_rs_state rs_clear_state = {
+ .line_control = 0x00030006,
+ .depth_scale_front = 0x0,
+ .depth_offset_front = 0x0,
+ .depth_scale_back = 0x0,
+ .depth_offset_back = 0x0,
+ .polygon_offset_enable = 0x0,
+ .cull_mode = 0x0,
+ .line_stipple_config = 0x3BAAAAAB,
+ .line_stipple_value = 0x0,
+};
+
#endif /* R300_SURFACE_H */