diff options
author | Jason Ekstrand <[email protected]> | 2016-03-30 15:20:11 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-08 15:57:55 -0700 |
commit | 4caba940869602b750e21a444523b068b1bea339 (patch) | |
tree | 5cb27628d4408ae91038f740b320819acac42fc9 /src/intel/vulkan/anv_private.h | |
parent | 4ee80e8816091869943d98cbe261c49406bb8039 (diff) |
anv/image: Expose the guts of CreateBufferView for meta
Reviewed-by: Nanley Chery <[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 1a18dd15e65..a394fe8a683 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1682,6 +1682,11 @@ struct anv_buffer_view { struct brw_image_param storage_image_param; }; +void anv_buffer_view_init(struct anv_buffer_view *view, + struct anv_device *device, + const VkBufferViewCreateInfo* pCreateInfo, + struct anv_cmd_buffer *cmd_buffer); + const struct anv_format * anv_format_for_descriptor_type(VkDescriptorType type); |