/external/skqp/src/gpu/vk/ |
D | GrVkBuffer.cpp | 27 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 …]
|
D | GrVkUniformBuffer.cpp | 51 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()
|
D | GrVkGpu.cpp | 1484 VkBufferCreateInfo bufInfo; in createTestingOnlyVkImage() local 1485 memset(&bufInfo, 0, sizeof(VkBufferCreateInfo)); in createTestingOnlyVkImage() 1486 bufInfo.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in createTestingOnlyVkImage() 1487 bufInfo.flags = 0; in createTestingOnlyVkImage() 1488 bufInfo.size = combinedBufferSize; in createTestingOnlyVkImage() 1489 bufInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; in createTestingOnlyVkImage() 1490 bufInfo.sharingMode = VK_SHARING_MODE_EXCLUSIVE; in createTestingOnlyVkImage() 1491 bufInfo.queueFamilyIndexCount = 0; in createTestingOnlyVkImage() 1492 bufInfo.pQueueFamilyIndices = nullptr; in createTestingOnlyVkImage() 1493 err = VK_CALL(CreateBuffer(fDevice, &bufInfo, nullptr, &buffer)); in createTestingOnlyVkImage()
|
/external/skia/src/gpu/vk/ |
D | GrVkBuffer.cpp | 86 VkBufferCreateInfo bufInfo; in Make() local 87 memset(&bufInfo, 0, sizeof(VkBufferCreateInfo)); in Make() 88 bufInfo.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; in Make() 89 bufInfo.flags = 0; in Make() 90 bufInfo.size = size; in Make() 93 bufInfo.usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; in Make() 97 bufInfo.usage = VK_BUFFER_USAGE_INDEX_BUFFER_BIT; in Make() 101 bufInfo.usage = VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT; in Make() 105 bufInfo.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in Make() 109 bufInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; in Make() [all …]
|
/external/angle/third_party/vulkan_memory_allocator/src/ |
D | Tests.cpp | 814 BufInfo bufInfo; in AcquireBuffer() local 815 bufInfo.Size = size; in AcquireBuffer() 816 bufInfo.Used = true; in AcquireBuffer() 827 …maCreateBuffer(g_hAllocator, &bufCreateInfo, &allocCreateInfo, &bufInfo.Buffer, &bufInfo.Allocatio… in AcquireBuffer() 828 bufInfo.MappedPtr = allocInfo.pMappedData; in AcquireBuffer() 829 TEST(res == VK_SUCCESS && bufInfo.MappedPtr); in AcquireBuffer() 831 outBuffer = bufInfo.Buffer; in AcquireBuffer() 832 outMappedPtr = bufInfo.MappedPtr; in AcquireBuffer() 834 m_Bufs.push_back(std::move(bufInfo)); in AcquireBuffer() 2583 VkBufferCreateInfo bufInfo = { VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO }; in TestMemoryRequirements() local [all …]
|
/external/deqp-deps/SPIRV-Tools/source/ |
D | print.cpp | 42 CONSOLE_SCREEN_BUFFER_INFO bufInfo; in SetConsoleForegroundColorPrimary() local 43 GetConsoleScreenBufferInfo(hConsole, &bufInfo); in SetConsoleForegroundColorPrimary() 46 color = WORD(color | (bufInfo.wAttributes & 0xfff0)); in SetConsoleForegroundColorPrimary()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/ |
D | print.cpp | 42 CONSOLE_SCREEN_BUFFER_INFO bufInfo; in SetConsoleForegroundColorPrimary() local 43 GetConsoleScreenBufferInfo(hConsole, &bufInfo); in SetConsoleForegroundColorPrimary() 46 color = WORD(color | (bufInfo.wAttributes & 0xfff0)); in SetConsoleForegroundColorPrimary()
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
D | print.cpp | 42 CONSOLE_SCREEN_BUFFER_INFO bufInfo; in SetConsoleForegroundColorPrimary() local 43 GetConsoleScreenBufferInfo(hConsole, &bufInfo); in SetConsoleForegroundColorPrimary() 46 color = WORD(color | (bufInfo.wAttributes & 0xfff0)); in SetConsoleForegroundColorPrimary()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderCase.cpp | 672 const VkDescriptorBufferInfo bufInfo = in iterate() local 679 descriptorInfos.push_back(bufInfo); in iterate()
|
D | vktSpvAsmGraphicsShaderTestUtil.cpp | 3705 const VkDescriptorBufferInfo bufInfo = in runAndVerifyDefaultPipeline() local 3711 dBufferInfos.push_back(bufInfo); in runAndVerifyDefaultPipeline() 3770 const VkDescriptorBufferInfo bufInfo = in runAndVerifyDefaultPipeline() local 3776 dBufferInfos.push_back(bufInfo); in runAndVerifyDefaultPipeline()
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 1382 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()
|