diff options
author | Jason Ekstrand <[email protected]> | 2018-11-21 18:00:56 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-03-05 10:06:50 -0600 |
commit | 8c6d410a50d3a7b1e5140b78cfa22dc8b23049c8 (patch) | |
tree | fc9a1afb4c287a1e1bb7f9ad956bdd0df4e9c822 /src/intel/vulkan/anv_private.h | |
parent | 5b7a9e739883f1f25f4046cd8d7eba9787cccc6b (diff) |
anv: Rework arguments to anv_descriptor_set_write_*
Make them all take a device followed by a set. This is consistent
with how the actual Vulkan entrypoint parameters are laid out.
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 2746e443bc8..c997d79e0b6 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1677,23 +1677,24 @@ size_t anv_descriptor_set_layout_size(const struct anv_descriptor_set_layout *layout); void -anv_descriptor_set_write_image_view(struct anv_descriptor_set *set, - const struct gen_device_info * const devinfo, +anv_descriptor_set_write_image_view(struct anv_device *device, + struct anv_descriptor_set *set, const VkDescriptorImageInfo * const info, VkDescriptorType type, uint32_t binding, uint32_t element); void -anv_descriptor_set_write_buffer_view(struct anv_descriptor_set *set, +anv_descriptor_set_write_buffer_view(struct anv_device *device, + struct anv_descriptor_set *set, VkDescriptorType type, struct anv_buffer_view *buffer_view, uint32_t binding, uint32_t element); void -anv_descriptor_set_write_buffer(struct anv_descriptor_set *set, - struct anv_device *device, +anv_descriptor_set_write_buffer(struct anv_device *device, + struct anv_descriptor_set *set, struct anv_state_stream *alloc_stream, VkDescriptorType type, struct anv_buffer *buffer, @@ -1703,8 +1704,8 @@ anv_descriptor_set_write_buffer(struct anv_descriptor_set *set, VkDeviceSize range); void -anv_descriptor_set_write_template(struct anv_descriptor_set *set, - struct anv_device *device, +anv_descriptor_set_write_template(struct anv_device *device, + struct anv_descriptor_set *set, struct anv_state_stream *alloc_stream, const struct anv_descriptor_update_template *template, const void *data); |