Lines Matching defs:format
27 #include "util/format/u_format.h"
96 uint32_t block_width = vk_format_get_blockwidth(image->vk.format);
97 uint32_t block_height = vk_format_get_blockheight(image->vk.format);
320 const struct v3dv_format *format =
321 v3dv_X(device, get_format)(pCreateInfo->format);
322 v3dv_assert(format != NULL && format->supported);
327 image->format = format;
328 image->cpp = vk_format_get_blocksize(image->vk.format);
398 assert(swapchain_image->vk.format == local_create_info.format);
515 /* If we have D24S8 format but the view only selects the stencil aspect
516 * we want to re-interpret the format as RGBA8_UINT, then map our stencil
520 VkFormat format;
522 if (pCreateInfo->format == VK_FORMAT_D24_UNORM_S8_UINT &&
524 format = VK_FORMAT_R8G8B8A8_UINT;
530 format = pCreateInfo->format;
540 iview->vk.view_format = format;
541 iview->format = v3dv_X(device, get_format)(format);
542 assert(iview->format && iview->format->supported);
549 (iview->format->rt_type, &iview->internal_type, &iview->internal_bpp);
552 const uint8_t *format_swizzle = v3dv_get_format_swizzle(device, format);
622 enum pipe_format pipe_format = vk_format_to_pipe_format(pCreateInfo->format);
629 view->vk_format = pCreateInfo->format;
630 view->format = v3dv_X(device, get_format)(view->vk_format);
633 (view->format->rt_type, &view->internal_type, &view->internal_bpp);