summaryrefslogtreecommitdiff
path: root/linux/radeon_drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/radeon_drm.h')
-rw-r--r--linux/radeon_drm.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/linux/radeon_drm.h b/linux/radeon_drm.h
index 9645f394..643253d2 100644
--- a/linux/radeon_drm.h
+++ b/linux/radeon_drm.h
@@ -276,16 +276,18 @@ typedef struct drm_radeon_fullscreen {
#define CLEAR_Y2 3
#define CLEAR_DEPTH 4
+typedef union drm_radeon_clear_rect {
+ float f[5];
+ unsigned int ui[5];
+} drm_radeon_clear_rect_t;
+
typedef struct drm_radeon_clear {
unsigned int flags;
unsigned int clear_color;
unsigned int clear_depth;
unsigned int color_mask;
unsigned int depth_mask;
- union {
- float f[5];
- unsigned int ui[5];
- } rect;
+ drm_radeon_clear_rect_t *depth_boxes;
} drm_radeon_clear_t;
typedef struct drm_radeon_vertex {