summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_resource.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-04-30 12:14:29 +0800
committerChia-I Wu <[email protected]>2013-05-01 11:31:15 +0800
commit334abed8286ab80691c563027424b7a7abcb41b5 (patch)
tree0d3391dba94f3f17a1a1855a61f4f332a5396911 /src/gallium/drivers/ilo/ilo_resource.h
parentce188bb252c0d8cab8a2763e8365985df1a0902b (diff)
ilo: support and prefer compact array spacing
There is no reason to waste the memory when the HW can support compact array spacing (ARYSPC_LOD0).
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_resource.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_resource.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_resource.h b/src/gallium/drivers/ilo/ilo_resource.h
index 2d706ce007d..96464724942 100644
--- a/src/gallium/drivers/ilo/ilo_resource.h
+++ b/src/gallium/drivers/ilo/ilo_resource.h
@@ -64,7 +64,11 @@ struct ilo_resource {
bool compressed;
unsigned block_width;
unsigned block_height;
+
+ /* true if the mip level alignments are stricter */
bool halign_8, valign_4;
+ /* true if space is reserved between layers */
+ bool array_spacing_full;
/* 2D offsets into a layer/slice/face */
struct {