Home
last modified time | relevance | path

Searched refs:buf_info (Results 1 – 5 of 5) sorted by relevance

/external/blktrace/btt/
Dmisc.c40 struct buf_info { struct
71 struct buf_info *bip = list_entry(p, struct buf_info, head); in clean_bufs()
129 struct buf_info *bip = malloc(sizeof(*bip)); in add_buf()
/external/vulkan-validation-layers/demos/smoke/
DMeshes.cpp498 VkBufferCreateInfo buf_info = {}; in allocate_resources() local
499 buf_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in allocate_resources()
500 buf_info.size = vb_size; in allocate_resources()
501 buf_info.usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; in allocate_resources()
502 buf_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in allocate_resources()
503 vk::CreateBuffer(dev_, &buf_info, nullptr, &vb_); in allocate_resources()
505 buf_info.size = ib_size; in allocate_resources()
506 buf_info.usage = VK_BUFFER_USAGE_INDEX_BUFFER_BIT; in allocate_resources()
507 vk::CreateBuffer(dev_, &buf_info, nullptr, &ib_); in allocate_resources()
DSmoke.cpp476 VkBufferCreateInfo buf_info = {}; in create_buffers() local
477 buf_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in create_buffers()
478 buf_info.size = object_data_size * sim_.objects().size(); in create_buffers()
479 buf_info.usage = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT; in create_buffers()
480 buf_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in create_buffers()
483 vk::assert_success(vk::CreateBuffer(dev_, &buf_info, nullptr, &data.buf)); in create_buffers()
/external/vulkan-validation-layers/demos/
Dcube.c1276 VkBufferCreateInfo buf_info; in demo_prepare_cube_data_buffer() local
1301 memset(&buf_info, 0, sizeof(buf_info)); in demo_prepare_cube_data_buffer()
1302 buf_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in demo_prepare_cube_data_buffer()
1303 buf_info.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in demo_prepare_cube_data_buffer()
1304 buf_info.size = sizeof(data); in demo_prepare_cube_data_buffer()
1306 vkCreateBuffer(demo->device, &buf_info, NULL, &demo->uniform_data.buf); in demo_prepare_cube_data_buffer()
Dtri.c1030 const VkBufferCreateInfo buf_info = { in demo_prepare_vertices() local
1050 err = vkCreateBuffer(demo->device, &buf_info, NULL, &demo->vertices.buf); in demo_prepare_vertices()