Lines Matching defs:view
233 unreachable("unknown view type");
243 fdl6_view_init(&iview->view, layouts, &args, has_z24uint_s8uint);
318 * VK_IMAGE_ASPECT_STENCIL_BIT image view requires to be able to sample
372 /* Whether a view of the image with an R8G8 format could be made. */
392 /* Whether a view of the image with a non-R8G8 but R8G8 compatible format
571 /* GRAS_LRZ_DEPTH_VIEW needs 5 bytes: 4 for view data and 1 for padding */
784 struct tu_image_view *view;
786 view = vk_object_alloc(&device->vk, pAllocator, sizeof(*view),
788 if (view == NULL)
791 tu_image_view_init(device, view, pCreateInfo, device->use_z24uint_s8uint);
793 *pView = tu_image_view_to_handle(view);
813 tu_buffer_view_init(struct tu_buffer_view *view,
819 view->buffer = buffer;
831 view->descriptor, tu_vk_format_to_pipe_format(pCreateInfo->format),
842 struct tu_buffer_view *view;
844 view = vk_object_alloc(&device->vk, pAllocator, sizeof(*view),
846 if (!view)
849 tu_buffer_view_init(view, device, pCreateInfo);
851 *pView = tu_buffer_view_to_handle(view);
862 TU_FROM_HANDLE(tu_buffer_view, view, bufferView);
864 if (!view)
867 vk_object_free(&device->vk, pAllocator, view);