Home
last modified time | relevance | path

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

/external/skia/src/gpu/vk/
DGrVkBuffer.cpp26 VkBufferCreateInfo bufInfo; in Create() local
27 memset(&bufInfo, 0, sizeof(VkBufferCreateInfo)); in Create()
28 bufInfo.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in Create()
29 bufInfo.flags = 0; in Create()
30 bufInfo.size = desc.fSizeInBytes; in Create()
33 bufInfo.usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; in Create()
36 bufInfo.usage = VK_BUFFER_USAGE_INDEX_BUFFER_BIT; in Create()
39 bufInfo.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in Create()
42 bufInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; in Create()
45 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.cpp1083 VkBufferCreateInfo bufInfo; in createTestingOnlyBackendTexture() local
1084 memset(&bufInfo, 0, sizeof(VkBufferCreateInfo)); in createTestingOnlyBackendTexture()
1085 bufInfo.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in createTestingOnlyBackendTexture()
1086 bufInfo.flags = 0; in createTestingOnlyBackendTexture()
1087 bufInfo.size = rowCopyBytes * h; in createTestingOnlyBackendTexture()
1088 bufInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; in createTestingOnlyBackendTexture()
1089 bufInfo.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in createTestingOnlyBackendTexture()
1090 bufInfo.queueFamilyIndexCount = 0; in createTestingOnlyBackendTexture()
1091 bufInfo.pQueueFamilyIndices = nullptr; in createTestingOnlyBackendTexture()
1093 err = VK_CALL(CreateBuffer(fDevice, &bufInfo, nullptr, &buffer)); in createTestingOnlyBackendTexture()
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp1451 const vk::VkDescriptorBufferInfo bufInfo = in ShaderCaseInstance() local
1460 vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, &bufInfo) in ShaderCaseInstance()
1466 const vk::VkDescriptorBufferInfo bufInfo = in ShaderCaseInstance() local
1475 vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, &bufInfo) in ShaderCaseInstance()