Home
last modified time | relevance | path

Searched refs:buffer_view (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_buffer_view.c33 struct vk_buffer_view *buffer_view, in vk_buffer_view_init() argument
38 vk_object_base_init(device, &buffer_view->base, VK_OBJECT_TYPE_BUFFER_VIEW); in vk_buffer_view_init()
44 buffer_view->buffer = buffer; in vk_buffer_view_init()
45 buffer_view->format = pCreateInfo->format; in vk_buffer_view_init()
46 buffer_view->offset = pCreateInfo->offset; in vk_buffer_view_init()
47 buffer_view->range = vk_buffer_range(buffer, pCreateInfo->offset, in vk_buffer_view_init()
49 buffer_view->elements = buffer_view->range / in vk_buffer_view_init()
50 vk_format_get_blocksize(buffer_view->format); in vk_buffer_view_init()
59 struct vk_buffer_view *buffer_view; in vk_buffer_view_create() local
61 buffer_view = vk_zalloc2(&device->alloc, alloc, size, 8, in vk_buffer_view_create()
[all …]
Dvk_buffer_view.h60 struct vk_buffer_view *buffer_view,
62 void vk_buffer_view_finish(struct vk_buffer_view *buffer_view);
69 struct vk_buffer_view *buffer_view);