Searched refs:uniform_data (Results 1 - 2 of 2) sorted by relevance
/external/vulkan-validation-layers/demos/ |
H A D | cube.cpp | 330 device.destroyBuffer(uniform_data.buf, nullptr); 331 device.freeMemory(uniform_data.mem, nullptr); 1466 device.createBuffer(&buf_info, nullptr, &uniform_data.buf); 1470 device.getBufferMemoryRequirements(uniform_data.buf, &mem_reqs); 1472 uniform_data.mem_alloc.setAllocationSize(mem_reqs.size); 1473 uniform_data.mem_alloc.setMemoryTypeIndex(0); 1479 &uniform_data.mem_alloc.memoryTypeIndex); 1482 result = device.allocateMemory(&uniform_data.mem_alloc, nullptr, 1483 &(uniform_data.mem)); 1486 auto pData = device.mapMemory(uniform_data 2673 } uniform_data; local [all...] |
H A D | cube.c | 380 } uniform_data; member in struct:demo 766 err = vkMapMemory(demo->device, demo->uniform_data.mem, 0, 767 demo->uniform_data.mem_alloc.allocationSize, 0, 773 vkUnmapMemory(demo->device, demo->uniform_data.mem); 1486 vkCreateBuffer(demo->device, &buf_info, NULL, &demo->uniform_data.buf); 1489 vkGetBufferMemoryRequirements(demo->device, demo->uniform_data.buf, 1492 demo->uniform_data.mem_alloc.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; 1493 demo->uniform_data.mem_alloc.pNext = NULL; 1494 demo->uniform_data.mem_alloc.allocationSize = mem_reqs.size; 1495 demo->uniform_data [all...] |
Completed in 154 milliseconds