diff options
author | Nanley Chery <[email protected]> | 2017-01-05 23:32:07 -0800 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2017-01-12 20:52:20 -0800 |
commit | d16871d9580152c5a041e9d54165f54f366ebb45 (patch) | |
tree | 5aecae22553ce9be2a6157487cdc2bc5977a79b5 /src/intel/vulkan/anv_private.h | |
parent | 3b7106c18136a107bd0d396bf061b8c9f914b4b9 (diff) |
anv/blorp: Add a gen8 HiZ op resolve function
Add an entry point for resolving using BLORP's gen8 HiZ op function.
v2: Manually add the aux info
Signed-off-by: Nanley Chery <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 510191bf61a..096d9011be0 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1593,6 +1593,11 @@ struct anv_image { struct anv_surface aux_surface; }; +void +anv_gen8_hiz_op_resolve(struct anv_cmd_buffer *cmd_buffer, + const struct anv_image *image, + enum blorp_hiz_op op); + static inline uint32_t anv_get_layerCount(const struct anv_image *image, const VkImageSubresourceRange *range) |