mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
lavapipe: Remove some dead code
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40030>
This commit is contained in:
parent
0b6340fd94
commit
8592c177d1
3 changed files with 0 additions and 5 deletions
|
|
@ -2461,8 +2461,6 @@ lvp_image_plane_bind(struct lvp_device *device,
|
|||
*/
|
||||
return vk_error(device, VK_ERROR_OUT_OF_DEVICE_MEMORY);
|
||||
}
|
||||
plane->pmem = mem->pmem;
|
||||
plane->memory_offset = memory_offset;
|
||||
plane->plane_offset = plane_offset;
|
||||
*min_plane_offset = plane_offset + plane->size;
|
||||
return VK_SUCCESS;
|
||||
|
|
|
|||
|
|
@ -1762,7 +1762,6 @@ create_multisample_surface(struct rendering_state *state, struct lvp_image_view
|
|||
templ.nr_samples = samples;
|
||||
struct lvp_image *image = mem_dup(imgv->vk.image, sizeof(struct lvp_image));
|
||||
image->vk.samples = samples;
|
||||
image->planes[0].pmem = NULL;
|
||||
image->planes[0].bo = state->pctx->screen->resource_create(state->pctx->screen, &templ);
|
||||
|
||||
struct lvp_image_view *multi = mem_dup(imgv, sizeof(struct lvp_image_view));
|
||||
|
|
|
|||
|
|
@ -279,9 +279,7 @@ vk_sync_as_lvp_pipe_sync(struct vk_sync *sync)
|
|||
|
||||
struct lvp_image_plane {
|
||||
struct pipe_resource *bo;
|
||||
struct pipe_memory_allocation *pmem;
|
||||
VkDeviceSize plane_offset;
|
||||
VkDeviceSize memory_offset;
|
||||
VkDeviceSize size;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue