/device/generic/goldfish-opengl/system/vulkan_enc/ |
vk_format_info.h | 61 android_format_from_vk(VkFormat vk_format) 63 switch (vk_format) {
|
/external/mesa3d/src/amd/vulkan/ |
radv_image.c | 30 #include "vk_format.h" 201 VkFormat vk_format, 212 desc = vk_format_description(vk_format); 213 first_non_void = vk_format_get_first_non_void_channel(vk_format); 386 VkFormat vk_format, 399 desc = vk_format_description(vk_format); 408 first_non_void = vk_format_get_first_non_void_channel(vk_format); 410 num_format = radv_translate_tex_numformat(vk_format, desc, first_non_void); 415 data_format = radv_translate_tex_dataformat(vk_format, desc, first_non_void); 422 vk_format == VK_FORMAT_S8_UINT & [all...] |
radv_meta_resolve.c | 29 #include "vk_format.h" 54 create_pass(struct radv_device *device, VkFormat vk_format, VkRenderPass *pass) 63 attachments[i].format = vk_format; 308 VkFormat vk_format, 314 unsigned fs_key = radv_format_meta_fs_key(vk_format); 356 if (src_image->vk_format == VK_FORMAT_R16G16_UNORM || 357 src_image->vk_format == VK_FORMAT_R16G16_SNORM) 359 else if (vk_format_is_int(src_image->vk_format)) 452 unsigned fs_key = radv_format_meta_fs_key(dest_image->vk_format); 505 .format = src_image->vk_format, [all...] |
radv_meta_resolve_cs.c | 32 #include "vk_format.h" 357 if (vk_format_is_int(src_iview->image->vk_format)) 359 else if (vk_format_is_srgb(src_iview->image->vk_format)) 441 .format = src_image->vk_format, 457 .format = vk_to_non_srgb_format(dest_image->vk_format),
|
radv_meta_resolve_fs.c | 32 #include "vk_format.h" 421 unsigned fs_key = radv_format_meta_fs_key(dest_iview->vk_format); 457 unsigned fs_key = radv_format_meta_fs_key(dest_image->vk_format); 512 .format = src_image->vk_format, 528 .format = dest_image->vk_format,
|
radv_meta_clear.c | 30 #include "vk_format.h" 199 VkFormat vk_format, 208 .format = vk_format, 342 unsigned fs_key = radv_format_meta_fs_key(iview->vk_format); 720 if (vk_format_aspects(iview->image->vk_format) & VK_IMAGE_ASPECT_STENCIL_BIT) { [all...] |
radv_meta_copy.c | 25 #include "vk_format.h" 30 const struct vk_format_description *desc = vk_format_description(image->vk_format); 86 VkFormat format = image->vk_format;
|
radv_meta_fast_clear.c | 616 .format = image->vk_format, 720 .format = image->vk_format,
|
radv_meta_decompress.c | 369 .format = image->vk_format,
|
radv_pipeline.c | 46 #include "vk_format.h" 295 static unsigned si_choose_spi_color_format(VkFormat vk_format, 299 const struct vk_format_description *desc = vk_format_description(vk_format); 310 format = radv_translate_colorformat(vk_format); 311 ntype = radv_translate_color_numformat(vk_format, desc, 312 vk_format_get_first_non_void_channel(vk_format)); 313 swap = radv_translate_colorswap(vk_format, false); [all...] |
radv_meta_blit.c | 327 unsigned fs_key = radv_format_meta_fs_key(dest_image->vk_format); 606 .format = dest_image->vk_format, 620 .format = src_image->vk_format, [all...] |
radv_meta_blit2d.c | 29 #include "vk_format.h" 240 depth_format = vk_format_stencil_only(dst->image->vk_format); 242 depth_format = vk_format_depth_only(dst->image->vk_format); 263 unsigned fs_key = radv_format_meta_fs_key(dst_temps.iview.vk_format); [all...] |
radv_private.h | 1362 VkFormat vk_format; member in struct:radv_image 1459 VkFormat vk_format; member in struct:radv_image_view 1498 VkFormat vk_format; member in struct:radv_buffer_view [all...] |
radv_device.c | 44 #include "vk_format.h" [all...] |
radv_cmd_buffer.c | 34 #include "vk_format.h" [all...] |
/external/mesa3d/src/intel/vulkan/ |
anv_formats.c | 390 anv_get_format(VkFormat vk_format) 392 uint32_t enum_offset = VK_ENUM_OFFSET(vk_format); 393 uint32_t ext_number = VK_ENUM_EXTENSION(vk_format); 411 anv_get_format_plane(const struct gen_device_info *devinfo, VkFormat vk_format, 414 const struct anv_format *format = anv_get_format(vk_format); 422 uint32_t plane = anv_image_aspect_to_plane(vk_format_aspects(vk_format), aspect); 428 assert(vk_format_aspects(vk_format) & 459 if (vk_format == VK_FORMAT_B4G4R4A4_UNORM_PACK16 && devinfo->gen < 8) { 471 VkFormat vk_format, 480 const VkImageAspectFlags aspects = vk_format_aspects(vk_format); [all...] |
anv_image.c | 302 anv_get_format_plane(&dev->info, image->vk_format, aspect, image->tiling); 544 image->vk_format = pCreateInfo->format; 546 image->aspects = vk_format_aspects(image->vk_format); 556 const struct anv_format *format = anv_get_format(image->vk_format); [all...] |
anv_private.h | 2368 VkFormat vk_format; member in struct:anv_image 2649 VkFormat vk_format; member in struct:anv_image_view [all...] |
anv_blorp.c | 362 anv_get_isl_format(&cmd_buffer->device->info, anv_image->vk_format, 501 anv_get_format_plane(&cmd_buffer->device->info, src_image->vk_format, 504 anv_get_format_plane(&cmd_buffer->device->info, dst_image->vk_format, 806 anv_get_format_plane(&cmd_buffer->device->info, image->vk_format, [all...] |
genX_pipeline.c | 503 VkFormat vk_format = local 505 assert(vk_format_is_depth_or_stencil(vk_format)); 506 if (vk_format_aspects(vk_format) & VK_IMAGE_ASPECT_DEPTH_BIT) { 508 anv_get_isl_format(&pipeline->device->info, vk_format, [all...] |
genX_cmd_buffer.c | [all...] |
/external/mesa3d/src/vulkan/wsi/ |
wsi_common_wayland.c | 104 wl_drm_format_for_vk_format(VkFormat vk_format, bool alpha) 106 switch (vk_format) { 575 VkFormat vk_format; member in struct:wsi_wl_swapchain 819 chain->vk_format = pCreateInfo->imageFormat; 820 chain->drm_format = wl_drm_format_for_vk_format(chain->vk_format, alpha);
|