mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
lvp: drop redundant lvp_image::offset
It's always zero. Reviewed-by: Lucas Fryzek <lfryzek@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40426>
This commit is contained in:
parent
67211470d5
commit
6b2c2e8f2d
2 changed files with 1 additions and 2 deletions
|
|
@ -2512,7 +2512,7 @@ lvp_image_bind(struct lvp_device *device,
|
|||
} else {
|
||||
for (unsigned plane = 0; plane < image->plane_count; plane++) {
|
||||
result = lvp_image_plane_bind(device, &image->planes[plane], mem,
|
||||
mem_offset + image->offset, &offset_B);
|
||||
mem_offset, &offset_B);
|
||||
if (result != VK_SUCCESS)
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -285,7 +285,6 @@ struct lvp_image_plane {
|
|||
|
||||
struct lvp_image {
|
||||
struct vk_image vk;
|
||||
VkDeviceSize offset;
|
||||
VkDeviceSize size;
|
||||
uint32_t alignment;
|
||||
bool disjoint;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue