Home
last modified time | relevance | path

Searched refs:bufInfo (Results 1 – 11 of 11) sorted by relevance

/external/skqp/src/gpu/vk/
DGrVkBuffer.cpp27 VkBufferCreateInfo bufInfo; in Create() local
28 memset(&bufInfo, 0, sizeof(VkBufferCreateInfo)); in Create()
29 bufInfo.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in Create()
30 bufInfo.flags = 0; in Create()
31 bufInfo.size = desc.fSizeInBytes; in Create()
34 bufInfo.usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; in Create()
37 bufInfo.usage = VK_BUFFER_USAGE_INDEX_BUFFER_BIT; in Create()
40 bufInfo.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in Create()
43 bufInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; in Create()
46 bufInfo.usage = VK_BUFFER_USAGE_TRANSFER_DST_BIT; in Create()
[all …]
DGrVkUniformBuffer.cpp51 VkBufferCreateInfo bufInfo; in CreateResource() local
52 memset(&bufInfo, 0, sizeof(VkBufferCreateInfo)); in CreateResource()
53 bufInfo.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in CreateResource()
54 bufInfo.flags = 0; in CreateResource()
55 bufInfo.size = size; in CreateResource()
56 bufInfo.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in CreateResource()
57 bufInfo.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in CreateResource()
58 bufInfo.queueFamilyIndexCount = 0; in CreateResource()
59 bufInfo.pQueueFamilyIndices = nullptr; in CreateResource()
62 err = VK_CALL(gpu, CreateBuffer(gpu->device(), &bufInfo, nullptr, &buffer)); in CreateResource()
DGrVkGpu.cpp1476 VkBufferCreateInfo bufInfo; in createTestingOnlyVkImage() local
1477 memset(&bufInfo, 0, sizeof(VkBufferCreateInfo)); in createTestingOnlyVkImage()
1478 bufInfo.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in createTestingOnlyVkImage()
1479 bufInfo.flags = 0; in createTestingOnlyVkImage()
1480 bufInfo.size = combinedBufferSize; in createTestingOnlyVkImage()
1481 bufInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; in createTestingOnlyVkImage()
1482 bufInfo.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in createTestingOnlyVkImage()
1483 bufInfo.queueFamilyIndexCount = 0; in createTestingOnlyVkImage()
1484 bufInfo.pQueueFamilyIndices = nullptr; in createTestingOnlyVkImage()
1485 err = VK_CALL(CreateBuffer(fDevice, &bufInfo, nullptr, &buffer)); in createTestingOnlyVkImage()
/external/skia/src/gpu/vk/
DGrVkBuffer.cpp27 VkBufferCreateInfo bufInfo; in Create() local
28 memset(&bufInfo, 0, sizeof(VkBufferCreateInfo)); in Create()
29 bufInfo.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in Create()
30 bufInfo.flags = 0; in Create()
31 bufInfo.size = desc.fSizeInBytes; in Create()
34 bufInfo.usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; in Create()
37 bufInfo.usage = VK_BUFFER_USAGE_INDEX_BUFFER_BIT; in Create()
40 bufInfo.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in Create()
43 bufInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; in Create()
46 bufInfo.usage = VK_BUFFER_USAGE_TRANSFER_DST_BIT; in Create()
[all …]
DGrVkUniformBuffer.cpp51 VkBufferCreateInfo bufInfo; in CreateResource() local
52 memset(&bufInfo, 0, sizeof(VkBufferCreateInfo)); in CreateResource()
53 bufInfo.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in CreateResource()
54 bufInfo.flags = 0; in CreateResource()
55 bufInfo.size = size; in CreateResource()
56 bufInfo.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in CreateResource()
57 bufInfo.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in CreateResource()
58 bufInfo.queueFamilyIndexCount = 0; in CreateResource()
59 bufInfo.pQueueFamilyIndices = nullptr; in CreateResource()
62 err = VK_CALL(gpu, CreateBuffer(gpu->device(), &bufInfo, nullptr, &buffer)); in CreateResource()
DGrVkGpu.cpp1488 VkBufferCreateInfo bufInfo; in createTestingOnlyVkImage() local
1489 memset(&bufInfo, 0, sizeof(VkBufferCreateInfo)); in createTestingOnlyVkImage()
1490 bufInfo.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in createTestingOnlyVkImage()
1491 bufInfo.flags = 0; in createTestingOnlyVkImage()
1492 bufInfo.size = combinedBufferSize; in createTestingOnlyVkImage()
1493 bufInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; in createTestingOnlyVkImage()
1494 bufInfo.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in createTestingOnlyVkImage()
1495 bufInfo.queueFamilyIndexCount = 0; in createTestingOnlyVkImage()
1496 bufInfo.pQueueFamilyIndices = nullptr; in createTestingOnlyVkImage()
1497 err = VK_CALL(CreateBuffer(fDevice, &bufInfo, nullptr, &buffer)); in createTestingOnlyVkImage()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dprint.cpp41 CONSOLE_SCREEN_BUFFER_INFO bufInfo; in SetConsoleForegroundColorPrimary() local
42 GetConsoleScreenBufferInfo(hConsole, &bufInfo); in SetConsoleForegroundColorPrimary()
45 color = WORD(color | (bufInfo.wAttributes & 0xfff0)); in SetConsoleForegroundColorPrimary()
/external/deqp-deps/SPIRV-Tools/source/
Dprint.cpp41 CONSOLE_SCREEN_BUFFER_INFO bufInfo; in SetConsoleForegroundColorPrimary() local
42 GetConsoleScreenBufferInfo(hConsole, &bufInfo); in SetConsoleForegroundColorPrimary()
45 color = WORD(color | (bufInfo.wAttributes & 0xfff0)); in SetConsoleForegroundColorPrimary()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp631 const VkDescriptorBufferInfo bufInfo = in iterate() local
637 descriptorInfos.push_back(bufInfo); in iterate()
DvktSpvAsmGraphicsShaderTestUtil.cpp3188 const VkDescriptorBufferInfo bufInfo = in runAndVerifyDefaultPipeline() local
3194 dBufferInfos.push_back(bufInfo); in runAndVerifyDefaultPipeline()
3253 const VkDescriptorBufferInfo bufInfo = in runAndVerifyDefaultPipeline() local
3259 dBufferInfos.push_back(bufInfo); in runAndVerifyDefaultPipeline()
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp1382 const vk::VkDescriptorBufferInfo bufInfo = in ShaderCaseInstance() local
1391 vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, &bufInfo) in ShaderCaseInstance()
1397 const vk::VkDescriptorBufferInfo bufInfo = in ShaderCaseInstance() local
1406 vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, &bufInfo) in ShaderCaseInstance()