summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_resource.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-05-15 12:18:13 +0800
committerChia-I Wu <[email protected]>2013-05-16 18:20:17 +0800
commit6b894e6900c2705c31d1af920a85389262e90bb3 (patch)
tree0e667e1cc934d593c3b0f0bbb46552163027b827 /src/gallium/drivers/ilo/ilo_resource.h
parent5c9b69d259def75f365998603d68d6749209f8b0 (diff)
ilo: add support for stencil resources on GEN7+
For allocations, we need to support stencil-only and separate stencil resources. For mapping, we need to support software tiling and packing/unpacking for separate stencil resources.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_resource.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_resource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_resource.h b/src/gallium/drivers/ilo/ilo_resource.h
index e22bd7cc9c6..fd36242d798 100644
--- a/src/gallium/drivers/ilo/ilo_resource.h
+++ b/src/gallium/drivers/ilo/ilo_resource.h
@@ -78,6 +78,8 @@ struct ilo_texture {
unsigned x;
unsigned y;
} *slice_offsets[PIPE_MAX_TEXTURE_LEVELS];
+
+ struct ilo_texture *separate_s8;
};
static inline struct ilo_buffer *