diff options
author | Jason Ekstrand <[email protected]> | 2016-10-07 22:14:03 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-10-14 15:40:39 -0700 |
commit | 69b2e931d49ff0d0cac1aa39753a447c6d2c059a (patch) | |
tree | d7baaa38091429b9274316fb1cf86a2ab9cb1e50 /src/intel/vulkan/anv_private.h | |
parent | 0a2c375af95953e5d36da243457f40d458077f50 (diff) |
anv/image: Create views directly in VkCreate*View
Without meta, we no longer need the _init helpers and the ability to back
an image view with surface states allocated out of the command buffer.
Signed-off-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 1e391672d68..c9d102d4e1a 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1669,11 +1669,6 @@ anv_image_has_hiz(const struct anv_image *image) image->hiz_surface.isl.size > 0; } -void anv_image_view_init(struct anv_image_view *view, - struct anv_device *device, - const VkImageViewCreateInfo* pCreateInfo, - struct anv_cmd_buffer *cmd_buffer); - struct anv_buffer_view { enum isl_format format; /**< VkBufferViewCreateInfo::format */ struct anv_bo *bo; @@ -1686,11 +1681,6 @@ 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); - enum isl_format anv_isl_format_for_descriptor_type(VkDescriptorType type); |