summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_resource.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-12-10 00:35:48 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:12 -0800
commit2cddc953cd05b5ed136582c39cac0a77c0d9e311 (patch)
treea4e11c4d2bfdc81474f7fc335f35e2c27a2d3bb6 /src/gallium/drivers/iris/iris_resource.h
parent9b1126c9904598e67148d930f3f79d0de0914c20 (diff)
iris: some initial HiZ bits
Diffstat (limited to 'src/gallium/drivers/iris/iris_resource.h')
-rw-r--r--src/gallium/drivers/iris/iris_resource.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.h b/src/gallium/drivers/iris/iris_resource.h
index 382f1159c5a..26451cbed4b 100644
--- a/src/gallium/drivers/iris/iris_resource.h
+++ b/src/gallium/drivers/iris/iris_resource.h
@@ -111,6 +111,11 @@ struct iris_resource {
* aux state for each slice.
*/
enum isl_aux_state **state;
+
+ /**
+ * If (1 << level) is set, HiZ is enabled for that miplevel.
+ */
+ uint16_t has_hiz;
} aux;
/**