diff options
author | Jason Ekstrand <[email protected]> | 2016-10-25 10:32:18 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-11-17 12:03:24 -0800 |
commit | edb7f67bd9c320cd47af20dc0a854e65fced7d9b (patch) | |
tree | 515ff8636e4306027a1f33ce4e4387aa4748fc2f /src/intel/vulkan/anv_private.h | |
parent | 338cdc172a28266b062794084efb7745f07b02a7 (diff) |
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.
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 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; }; |