Lines Matching refs:buffer_create_info
799 VkBufferCreateInfo buffer_create_info = {}; in GetTestConditionValid() local
800 buffer_create_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in GetTestConditionValid()
801 buffer_create_info.size = 32; in GetTestConditionValid()
802 buffer_create_info.usage = aBufferUsage; in GetTestConditionValid()
804 vkCreateBuffer(aVulkanDevice->device(), &buffer_create_info, nullptr, &vulkanBuffer); in GetTestConditionValid()
838 VkBufferCreateInfo buffer_create_info = {}; in VkBufferTest() local
839 buffer_create_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in VkBufferTest()
840 buffer_create_info.size = 32; in VkBufferTest()
841 buffer_create_info.usage = aBufferUsage; in VkBufferTest()
843 vkCreateBuffer(VulkanDevice, &buffer_create_info, nullptr, &VulkanBuffer); in VkBufferTest()
1550 VkBufferCreateInfo buffer_create_info = {}; in TEST_F() local
1551 buffer_create_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in TEST_F()
1552 buffer_create_info.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in TEST_F()
1553 buffer_create_info.size = 1; in TEST_F()
1555 vkCreateBuffer(device(), &buffer_create_info, nullptr, &buffer); in TEST_F()
3324 VkBufferCreateInfo buffer_create_info = {}; in TEST_F() local
3325 buffer_create_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in TEST_F()
3326 buffer_create_info.pNext = NULL; in TEST_F()
3327 buffer_create_info.flags = 0; in TEST_F()
3328 buffer_create_info.size = 4 * 1024 * 1024; in TEST_F()
3329 buffer_create_info.usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; in TEST_F()
3330 buffer_create_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in TEST_F()
3338 err = vkCreateBuffer(device(), &buffer_create_info, NULL, &buffer); in TEST_F()
3383 err = vkCreateBuffer(device(), &buffer_create_info, NULL, &buffer); in TEST_F()
3429 err = vkCreateBuffer(device(), &buffer_create_info, NULL, &buffer); in TEST_F()
3518 err = vkCreateBuffer(device(), &buffer_create_info, NULL, &buffer); in TEST_F()
3612 VkBufferCreateInfo sparse_buffer_create_info = buffer_create_info; in TEST_F()
9547 VkBufferCreateInfo buffer_create_info = {}; in TEST_F() local
9548 buffer_create_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in TEST_F()
9549 buffer_create_info.size = 1024; in TEST_F()
9550 buffer_create_info.usage = VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT; in TEST_F()
9551 buffer_create_info.queueFamilyIndexCount = 1; in TEST_F()
9552 buffer_create_info.pQueueFamilyIndices = &queue_family_index; in TEST_F()
9554 err = vkCreateBuffer(m_device->device(), &buffer_create_info, NULL, &buffer); in TEST_F()
11800 VkBufferCreateInfo buffer_create_info = {}; in TEST_F() local
11801 buffer_create_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in TEST_F()
11802 buffer_create_info.size = 1024; in TEST_F()
11803 buffer_create_info.usage = VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT; in TEST_F()
11804 buffer_create_info.queueFamilyIndexCount = 1; in TEST_F()
11805 buffer_create_info.pQueueFamilyIndices = &queue_family_index; in TEST_F()
11807 err = vkCreateBuffer(m_device->device(), &buffer_create_info, NULL, &buffer); in TEST_F()
19152 VkBufferCreateInfo buffer_create_info = {}; in TEST_F() local
19153 buffer_create_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in TEST_F()
19154 buffer_create_info.size = 1024; in TEST_F()
19155 buffer_create_info.usage = VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT; in TEST_F()
19156 buffer_create_info.queueFamilyIndexCount = 1; in TEST_F()
19157 buffer_create_info.pQueueFamilyIndices = &queue_family_index; in TEST_F()
19159 VkResult err = vkCreateBuffer(m_device->device(), &buffer_create_info, NULL, &buffer); in TEST_F()
28122 VkBufferCreateInfo buffer_create_info = {}; in TEST_F() local
28123 buffer_create_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in TEST_F()
28124 buffer_create_info.size = 1024; in TEST_F()
28125 buffer_create_info.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in TEST_F()
28126 buffer_create_info.queueFamilyIndexCount = 1; in TEST_F()
28127 buffer_create_info.pQueueFamilyIndices = &queue_family_index; in TEST_F()
28129 VkResult err = vkCreateBuffer(m_device->device(), &buffer_create_info, NULL, &buffer); in TEST_F()
28192 VkBufferCreateInfo buffer_create_info = {}; in TEST_F() local
28193 buffer_create_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in TEST_F()
28194 buffer_create_info.size = 1024; in TEST_F()
28195 buffer_create_info.usage = VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT; in TEST_F()
28196 buffer_create_info.queueFamilyIndexCount = 1; in TEST_F()
28197 buffer_create_info.pQueueFamilyIndices = &queue_family_index; in TEST_F()
28199 VkResult err = vkCreateBuffer(m_device->device(), &buffer_create_info, NULL, &buffer); in TEST_F()
32841 VkBufferCreateInfo buffer_create_info = {}; in TEST_F() local
32842 buffer_create_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in TEST_F()
32843 buffer_create_info.pNext = &dedicated_buffer_create_info; in TEST_F()
32844 buffer_create_info.size = 1024; in TEST_F()
32845 buffer_create_info.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in TEST_F()
32846 buffer_create_info.queueFamilyIndexCount = 1; in TEST_F()
32847 buffer_create_info.pQueueFamilyIndices = &queue_family_index; in TEST_F()
32851 vkCreateBuffer(m_device->device(), &buffer_create_info, NULL, &buffer); in TEST_F()
32958 VkBufferCreateInfo buffer_create_info = {}; in TEST_F() local
32959 buffer_create_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in TEST_F()
32960 buffer_create_info.pNext = &dedicated_buffer_create_info; in TEST_F()
32961 buffer_create_info.size = 1024; in TEST_F()
32962 buffer_create_info.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in TEST_F()
32963 buffer_create_info.queueFamilyIndexCount = 1; in TEST_F()
32964 buffer_create_info.pQueueFamilyIndices = &queue_family_index; in TEST_F()
32967 VkResult err = vkCreateBuffer(m_device->device(), &buffer_create_info, NULL, &buffer); in TEST_F()
34530 VkBufferCreateInfo buffer_create_info = {VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO}; in TEST_F() local
34531 buffer_create_info.size = sizeof(VkDrawIndirectCommand); in TEST_F()
34532 buffer_create_info.usage = VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT; in TEST_F()
34534 vkCreateBuffer(m_device->device(), &buffer_create_info, nullptr, &draw_buffer); in TEST_F()
34656 VkBufferCreateInfo buffer_create_info = {VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO}; in TEST_F() local
34657 buffer_create_info.size = sizeof(VkDrawIndexedIndirectCommand); in TEST_F()
34658 buffer_create_info.usage = VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT; in TEST_F()
34660 vkCreateBuffer(m_device->device(), &buffer_create_info, nullptr, &draw_buffer); in TEST_F()
35534 VkBufferCreateInfo buffer_create_info = {VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO}; in TEST_F() local
35535 buffer_create_info.size = sizeof(uint32_t); in TEST_F()
35536 buffer_create_info.usage = VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT; in TEST_F()
35538 VkResult result = vkCreateBuffer(m_device->device(), &buffer_create_info, nullptr, &buffer); in TEST_F()
37543 VkBufferCreateInfo buffer_create_info = {VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO}; in TEST_F() local
37544 buffer_create_info.size = sizeof(uint32_t); in TEST_F()
37545 buffer_create_info.usage = VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_EXT; in TEST_F()
37546 buffer_create_info.flags = VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXT; in TEST_F()
37549 VkResult result = vkCreateBuffer(m_device->device(), &buffer_create_info, nullptr, &buffer); in TEST_F()
37555 buffer_create_info.flags = 0; in TEST_F()
37558 buffer_create_info.pNext = &addr_ci; in TEST_F()
37561 result = vkCreateBuffer(m_device->device(), &buffer_create_info, nullptr, &buffer); in TEST_F()
37567 buffer_create_info.pNext = nullptr; in TEST_F()
37568 result = vkCreateBuffer(m_device->device(), &buffer_create_info, nullptr, &buffer); in TEST_F()
37619 VkBufferCreateInfo buffer_create_info = {VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO}; in TEST_F() local
37620 buffer_create_info.size = sizeof(uint32_t); in TEST_F()
37621 buffer_create_info.usage = VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_EXT; in TEST_F()
37624 VkResult result = vkCreateBuffer(m_device->device(), &buffer_create_info, nullptr, &buffer); in TEST_F()
37630 buffer_create_info.usage = VK_BUFFER_USAGE_INDEX_BUFFER_BIT; in TEST_F()
37631 result = vkCreateBuffer(m_device->device(), &buffer_create_info, nullptr, &buffer); in TEST_F()