Searched refs:img_bsurf (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_copy.c | 181 struct radv_meta_blit2d_surf img_bsurf = in copy_buffer_to_image() local 187 if (!radv_is_buffer_format_supported(img_bsurf.format, NULL)) { in copy_buffer_to_image() 201 img_bsurf.format = vk_format_for_size(vk_format_get_blocksize(img_bsurf.format)); in copy_buffer_to_image() 202 img_bsurf.current_layout = VK_IMAGE_LAYOUT_GENERAL; in copy_buffer_to_image() 206 .bs = img_bsurf.bs, in copy_buffer_to_image() 207 .format = img_bsurf.format, in copy_buffer_to_image() 214 img_bsurf.layer = img_offset_el.z; in copy_buffer_to_image() 228 !image_is_renderable(cmd_buffer->device, img_bsurf.image)) { in copy_buffer_to_image() 229 radv_meta_buffer_to_image_cs(cmd_buffer, &buf_bsurf, &img_bsurf, 1, &rect); in copy_buffer_to_image() 231 radv_meta_blit2d(cmd_buffer, NULL, &buf_bsurf, &img_bsurf, 1, &rect); in copy_buffer_to_image() [all …]
|