summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_surface.h
diff options
context:
space:
mode:
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 */