summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-10-24 22:03:45 -0700
committerJason Ekstrand <[email protected]>2016-11-17 12:03:24 -0800
commit338cdc172a28266b062794084efb7745f07b02a7 (patch)
treebfa99b1cc81d0eeae6705d7defead931fd20b5c7 /src/intel/vulkan/anv_private.h
parente2f5880839eea19c173f1a4f1697b63eb2a353aa (diff)
anv: Add initial support for Sky Lake color compression
This commit adds basic support for color compression. For the moment, color compression is only enabled within a render pass and a full resolve is done before the render pass finishes. All texturing operations still happen with CCS disabled.
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index ce8ceb2005e..bb7837e3c0a 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1083,6 +1083,7 @@ void anv_dynamic_state_copy(struct anv_dynamic_state *dest,
* The clear value is valid only if there exists a pending clear.
*/
struct anv_attachment_state {
+ enum isl_aux_usage aux_usage;
struct anv_state color_rt_state;
VkImageAspectFlags pending_clear_aspects;