diff options
author | Jason Ekstrand <[email protected]> | 2016-11-17 22:55:30 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-11-22 14:24:29 -0800 |
commit | 5e8069a5726ec62ce21d1d708cb6e82ae628de14 (patch) | |
tree | c0b8c245bf660f23cf3f1940237e9643d07f317e /src/intel/vulkan/anv_private.h | |
parent | dae8e52030dc289562f5079a4049de7ff6261e8e (diff) |
anv: Add support for fast clears on gen9
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 7931d4bb790..2fc543daacc 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1100,11 +1100,14 @@ void anv_dynamic_state_copy(struct anv_dynamic_state *dest, */ struct anv_attachment_state { enum isl_aux_usage aux_usage; + enum isl_aux_usage input_aux_usage; struct anv_state color_rt_state; struct anv_state input_att_state; VkImageAspectFlags pending_clear_aspects; + bool fast_clear; VkClearValue clear_value; + bool clear_color_is_zero_one; }; /** State required while building cmd buffer */ |