mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 21:00:22 +01:00
lavapipe: fix some whitespace in advance of other changes.
This is just some tab and trailing whitespace removal. Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25609>
This commit is contained in:
parent
0e97568aed
commit
05047ceced
4 changed files with 8 additions and 8 deletions
|
|
@ -274,7 +274,7 @@ get_texture_handle_bda(struct lvp_device *device, const VkDescriptorAddressInfoE
|
|||
|
||||
ctx->sampler_view_destroy(ctx, view);
|
||||
pipe_resource_reference(&pres, NULL);
|
||||
|
||||
|
||||
return *handle;
|
||||
}
|
||||
|
||||
|
|
@ -297,7 +297,7 @@ get_image_handle_bda(struct lvp_device *device, const VkDescriptorAddressInfoEXT
|
|||
simple_mtx_unlock(&device->queue.lock);
|
||||
|
||||
pipe_resource_reference(&pres, NULL);
|
||||
|
||||
|
||||
return *handle;
|
||||
}
|
||||
|
||||
|
|
@ -345,7 +345,7 @@ lvp_descriptor_set_create(struct lvp_device *device,
|
|||
const struct lvp_descriptor_set_binding_layout *bind_layout = &set->layout->binding[binding_index];
|
||||
if (!bind_layout->immutable_samplers)
|
||||
continue;
|
||||
|
||||
|
||||
struct lp_descriptor *desc = set->map;
|
||||
desc += bind_layout->descriptor_index;
|
||||
|
||||
|
|
|
|||
|
|
@ -3783,7 +3783,7 @@ process_sequence(struct rendering_state *state,
|
|||
struct vk_cmd_queue_entry *cmd = (struct vk_cmd_queue_entry*)(pbuf + size);
|
||||
size_t cmd_size = vk_cmd_queue_type_sizes[lvp_nv_dgc_token_to_cmd_type(token)];
|
||||
uint8_t *cmdptr = (void*)(pbuf + size + cmd_size);
|
||||
|
||||
|
||||
if (max_size < size + cmd_size)
|
||||
abort();
|
||||
cmd->type = lvp_nv_dgc_token_to_cmd_type(token);
|
||||
|
|
|
|||
|
|
@ -563,9 +563,9 @@ lvp_CreateBufferView(VkDevice _device,
|
|||
struct lvp_buffer_view *view;
|
||||
|
||||
view = vk_buffer_view_create(&device->vk,
|
||||
pCreateInfo,
|
||||
pAllocator,
|
||||
sizeof(*view));
|
||||
pCreateInfo,
|
||||
pAllocator,
|
||||
sizeof(*view));
|
||||
if (!view)
|
||||
return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY);
|
||||
|
||||
|
|
|
|||
|
|
@ -650,7 +650,7 @@ VkResult lvp_execute_cmds(struct lvp_device *device,
|
|||
size_t
|
||||
lvp_get_rendering_state_size(void);
|
||||
struct lvp_image *lvp_swapchain_get_image(VkSwapchainKHR swapchain,
|
||||
uint32_t index);
|
||||
uint32_t index);
|
||||
|
||||
static inline enum pipe_format
|
||||
lvp_vk_format_to_pipe_format(VkFormat format)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue