summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2018-01-18 17:19:30 -0800
committerRafael Antognolli <[email protected]>2018-04-05 07:42:45 -0700
commite8cadb673d6e3a5946e7d9be5811881e99bef952 (patch)
treeb9bfecb2eedd286348e041477ec0c6dc6add5c53 /src/intel/vulkan/anv_private.h
parent021e1885d0d09adf3b9bc40c74172f983a2263dd (diff)
anv: Use clear address for HiZ fast clears too.
Store the default clear address for HiZ fast clears on a global bo, and point to it when needed. Signed-off-by: Rafael Antognolli <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
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 989842ef236..18d96c8dd1a 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -895,6 +895,7 @@ struct anv_device {
struct anv_bo workaround_bo;
struct anv_bo trivial_batch_bo;
+ struct anv_bo hiz_clear_bo;
struct anv_pipeline_cache blorp_shader_cache;
struct blorp_context blorp;