summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_surface.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-01-27 04:48:19 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-01 23:30:30 -0800
commit2e635ef563e2bff50e7a2af4f505bbd066865723 (patch)
tree5e1b32a28256e2a62132716313bf74ccbd86fa63 /src/gallium/drivers/r300/r300_surface.h
parentbea0c5812bd2795b514725d2a3788add3dc209af (diff)
r300: Add dsa state emit.
Seeing a pattern yet?
Diffstat (limited to 'src/gallium/drivers/r300/r300_surface.h')
-rw-r--r--src/gallium/drivers/r300/r300_surface.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_surface.h b/src/gallium/drivers/r300/r300_surface.h
index 8ec7151f4d..2b89698ca5 100644
--- a/src/gallium/drivers/r300/r300_surface.h
+++ b/src/gallium/drivers/r300/r300_surface.h
@@ -45,4 +45,14 @@ const struct r300_blend_color_state blend_color_clear_state = {
.blend_color_green_blue = 0x0,
};
+const struct r300_dsa_state dsa_clear_state = {
+ .alpha_function = 0x0,
+ .alpha_reference = 0x0,
+ .z_buffer_control = 0x0,
+ .z_stencil_control = 0x0,
+ .stencil_ref_mask = 0x0,
+ .z_buffer_top = R300_ZTOP_ENABLE,
+ .stencil_ref_bf = 0x0,
+};
+
#endif /* R300_SURFACE_H */