nvk: follow naming convention for devices

Reviewed-by: Faith Ekstrand <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32765>
This commit is contained in:
Thomas H.P. Andersen
2024-12-23 03:19:39 +01:00
committed by Marge Bot
parent 4e1b18178b
commit 84b660b922
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -322,7 +322,7 @@ nvk_CopyImageToMemoryEXT(VkDevice _device,
}
static VkResult
nvk_copy_image_to_image(struct nvk_device *device,
nvk_copy_image_to_image(struct nvk_device *dev,
struct nvk_image *src,
struct nvk_image *dst,
const VkImageCopy2 *info)
@@ -470,7 +470,7 @@ nvk_copy_image_to_image(struct nvk_device *device,
dst_extent_B.depth * dst_extent_B.array_len);
const size_t tmp_size_B =
src_extent_B.depth * src_extent_B.array_len * tmp_layer_stride_B;
void *tmp_mem = vk_alloc(&device->vk.alloc, tmp_size_B, 8,
void *tmp_mem = vk_alloc(&dev->vk.alloc, tmp_size_B, 8,
VK_SYSTEM_ALLOCATION_SCOPE_DEVICE);
const struct nil_Extent4D_Pixels src_level_extent_px =
@@ -527,7 +527,7 @@ nvk_copy_image_to_image(struct nvk_device *device,
dst_ptr += dst_img_plane->nil.array_stride_B;
}
vk_free(&device->vk.alloc, tmp_mem);
vk_free(&dev->vk.alloc, tmp_mem);
}
nvk_image_plane_unmap(src_img_plane);
+1 -1
View File
@@ -42,7 +42,7 @@ struct nvkmd_mem;
struct nvkmd_va;
VkFormatFeatureFlags2
nvk_get_image_format_features(struct nvk_physical_device *pdevice,
nvk_get_image_format_features(struct nvk_physical_device *pdev,
VkFormat format, VkImageTiling tiling,
uint64_t drm_format_mod);