From edb7f67bd9c320cd47af20dc0a854e65fced7d9b Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 25 Oct 2016 10:32:18 -0700 Subject: anv/image: Add an aux_usage field for "default" aux Initially, the field is set to ISL_AUX_USAGE_NONE so this commit shouldn't bring any functional changes. Setting this field to something else will cause all sampled and storage image views to be created with AUX and blorp will start trying to respect it so set with care. --- src/intel/vulkan/anv_private.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/intel/vulkan/anv_private.h') diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index bb7837e3c0a..7d7380a9d46 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1555,6 +1555,9 @@ struct anv_image { }; }; + /** The aux usage for this surface when outside a render pass */ + enum isl_aux_usage aux_usage; + struct anv_surface aux_surface; }; -- cgit v1.2.3