Home
last modified time | relevance | path

Searched refs:bindingCount (Results 1 – 25 of 151) sorted by relevance

1234567

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkPipelineLayout.cpp40 descriptorSets[i].bindingCount = bindingsArraySize; in PipelineLayout()
97 return descriptorSets[setNumber].bindingCount; in getBindingCount()
102 ASSERT(setNumber < descriptorSetCount && bindingNumber < descriptorSets[setNumber].bindingCount); in getDynamicOffsetIndex()
108 ASSERT(setNumber < descriptorSetCount && bindingNumber < descriptorSets[setNumber].bindingCount); in getDescriptorCount()
114 ASSERT(setNumber < descriptorSetCount && bindingNumber < descriptorSets[setNumber].bindingCount); in getBindingOffset()
120 ASSERT(setNumber < descriptorSetCount && bindingNumber < descriptorSets[setNumber].bindingCount); in getDescriptorType()
DVkDescriptorSet.cpp39 uint32_t bindingCount = layout->getBindingCount(i); in ParseDescriptors() local
40 for(uint32_t j = 0; j < bindingCount; ++j) in ParseDescriptors()
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_descriptor_set_layout.h64 size += vn_sizeof_uint32_t(&val->bindingCount); in vn_sizeof_VkDescriptorSetLayoutBindingFlagsCreateInfo_self()
66 size += vn_sizeof_array_size(val->bindingCount); in vn_sizeof_VkDescriptorSetLayoutBindingFlagsCreateInfo_self()
67 for (uint32_t i = 0; i < val->bindingCount; i++) in vn_sizeof_VkDescriptorSetLayoutBindingFlagsCreateInfo_self()
98 vn_encode_uint32_t(enc, &val->bindingCount); in vn_encode_VkDescriptorSetLayoutBindingFlagsCreateInfo_self()
100 vn_encode_array_size(enc, val->bindingCount); in vn_encode_VkDescriptorSetLayoutBindingFlagsCreateInfo_self()
101 for (uint32_t i = 0; i < val->bindingCount; i++) in vn_encode_VkDescriptorSetLayoutBindingFlagsCreateInfo_self()
149 size += vn_sizeof_uint32_t(&val->bindingCount); in vn_sizeof_VkDescriptorSetLayoutCreateInfo_self()
151 size += vn_sizeof_array_size(val->bindingCount); in vn_sizeof_VkDescriptorSetLayoutCreateInfo_self()
152 for (uint32_t i = 0; i < val->bindingCount; i++) in vn_sizeof_VkDescriptorSetLayoutCreateInfo_self()
200 vn_encode_uint32_t(enc, &val->bindingCount); in vn_encode_VkDescriptorSetLayoutCreateInfo_self()
[all …]
Dvn_protocol_driver_command_buffer.h3440 …uffers(VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer… in vn_sizeof_vkCmdBindVertexBuffers() argument
3448 cmd_size += vn_sizeof_uint32_t(&bindingCount); in vn_sizeof_vkCmdBindVertexBuffers()
3450 cmd_size += vn_sizeof_array_size(bindingCount); in vn_sizeof_vkCmdBindVertexBuffers()
3451 for (uint32_t i = 0; i < bindingCount; i++) in vn_sizeof_vkCmdBindVertexBuffers()
3457 cmd_size += vn_sizeof_array_size(bindingCount); in vn_sizeof_vkCmdBindVertexBuffers()
3458 cmd_size += vn_sizeof_VkDeviceSize_array(pOffsets, bindingCount); in vn_sizeof_vkCmdBindVertexBuffers()
3466 …flags, VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer… in vn_encode_vkCmdBindVertexBuffers() argument
3475 vn_encode_uint32_t(enc, &bindingCount); in vn_encode_vkCmdBindVertexBuffers()
3477 vn_encode_array_size(enc, bindingCount); in vn_encode_vkCmdBindVertexBuffers()
3478 for (uint32_t i = 0; i < bindingCount; i++) in vn_encode_vkCmdBindVertexBuffers()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBindGroupVk.cpp44 const uint32_t bindingCount = static_cast<uint32_t>((GetLayout()->GetBindingCount())); in BindGroup() local
46 bindingCount); in BindGroup()
48 writeBufferInfo(bindingCount); in BindGroup()
50 writeImageInfo(bindingCount); in BindGroup()
DRenderPipelineVk.cpp565 uint32_t bindingCount = 0; in ComputeVertexInputDesc() local
569 VkVertexInputBindingDescription* bindingDesc = &tempAllocations->bindings[bindingCount]; in ComputeVertexInputDesc()
574 bindingCount++; in ComputeVertexInputDesc()
597 createInfo.vertexBindingDescriptionCount = bindingCount; in ComputeVertexInputDesc()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireArgumentTests.cpp53 bglDescriptor.bindingCount = 0; in TEST_F()
63 bindGroupDescriptor.bindingCount = 0; in TEST_F()
304 bglDescriptor.bindingCount = 0; in TEST_F()
343 bglDescriptor.bindingCount = NUM_BINDINGS; in TEST_F()
360 return desc->nextInChain == nullptr && desc->bindingCount == 3; in TEST_F()
DWireOptionalTests.cpp31 bglDesc.bindingCount = 0; in TEST_F()
48 bgDesc.bindingCount = 1; in TEST_F()
56 return desc->nextInChain == nullptr && desc->bindingCount == 1 && in TEST_F()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h136 uint32_t bindingCount; member
524 uint32_t bindingCount,
530 uint32_t bindingCount,
961 uint32_t bindingCount, in bindTransformFeedbackBuffers() argument
968 size_t buffersSize = bindingCount * sizeof(VkBuffer); in bindTransformFeedbackBuffers()
969 size_t offsetsSize = bindingCount * sizeof(VkDeviceSize); in bindTransformFeedbackBuffers()
976 paramStruct->bindingCount = bindingCount; in bindTransformFeedbackBuffers()
983 uint32_t bindingCount, in bindVertexBuffers() argument
989 size_t buffersSize = bindingCount * sizeof(VkBuffer); in bindVertexBuffers()
990 size_t offsetsSize = bindingCount * sizeof(VkDeviceSize); in bindVertexBuffers()
[all …]
DSecondaryCommandBuffer.cpp229 Offset<VkDeviceSize>(buffers, sizeof(VkBuffer) * params->bindingCount); in executeCommands()
231 Offset<VkDeviceSize>(offsets, sizeof(VkDeviceSize) * params->bindingCount); in executeCommands()
232 vkCmdBindTransformFeedbackBuffersEXT(cmdBuffer, 0, params->bindingCount, in executeCommands()
243 Offset<VkDeviceSize>(buffers, sizeof(VkBuffer) * params->bindingCount); in executeCommands()
244 vkCmdBindVertexBuffers(cmdBuffer, 0, params->bindingCount, buffers, offsets); in executeCommands()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_command_buffer.c90 uint32_t bindingCount, in vk_common_CmdBindVertexBuffers() argument
98 disp->CmdBindVertexBuffers2(commandBuffer, firstBinding, bindingCount, in vk_common_CmdBindVertexBuffers()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DBindGroup.cpp104 if (descriptor->bindingCount != layoutInfo.mask.count()) { in ValidateBindGroupDescriptor()
109 for (uint32_t i = 0; i < descriptor->bindingCount; ++i) { in ValidateBindGroupDescriptor()
163 for (uint32_t i = 0; i < descriptor->bindingCount; ++i) { in BindGroupBase()
DBindGroupLayout.cpp33 for (uint32_t i = 0; i < descriptor->bindingCount; ++i) { in ValidateBindGroupLayoutDescriptor()
106 for (uint32_t i = 0; i < descriptor->bindingCount; ++i) { in BindGroupLayoutBase()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h101 uint32_t bindingCount; member
384 uint32_t bindingCount,
689 uint32_t bindingCount, in bindVertexBuffers() argument
695 size_t buffersSize = bindingCount * sizeof(VkBuffer); in bindVertexBuffers()
696 size_t offsetsSize = bindingCount * sizeof(VkDeviceSize); in bindVertexBuffers()
700 paramStruct->bindingCount = bindingCount; in bindVertexBuffers()
/third_party/mesa3d/src/intel/vulkan/
Danv_cmd_buffer.c603 uint32_t bindingCount, in anv_CmdBindVertexBuffers2() argument
615 assert(firstBinding + bindingCount <= MAX_VBS); in anv_CmdBindVertexBuffers2()
616 for (uint32_t i = 0; i < bindingCount; i++) { in anv_CmdBindVertexBuffers2()
636 bindingCount, pStrides); in anv_CmdBindVertexBuffers2()
643 uint32_t bindingCount, in anv_CmdBindTransformFeedbackBuffersEXT() argument
654 assert(firstBinding + bindingCount <= MAX_XFB_BUFFERS); in anv_CmdBindTransformFeedbackBuffersEXT()
655 for (uint32_t i = 0; i < bindingCount; i++) { in anv_CmdBindTransformFeedbackBuffersEXT()
/third_party/skia/src/gpu/vk/
DGrVkDescriptorSetManager.cpp98 dsSamplerLayoutCreateInfo.bindingCount = numBindings; in get_layout_and_desc_count()
132 uniformLayoutCreateInfo.bindingCount = 1; in get_layout_and_desc_count()
167 inputLayoutCreateInfo.bindingCount = 1; in get_layout_and_desc_count()
/third_party/vulkan-loader/tests/
Dloader_threading_tests.cpp87 … test_vkCmdBindVertexBuffers(VkCommandBuffer cmd_buf, uint32_t firstBinding, uint32_t bindingCount, in test_vkCmdBindVertexBuffers() argument
89 …LL test_vkCmdBindIndexBuffer(VkCommandBuffer cmd_buf, uint32_t firstBinding, uint32_t bindingCount, in test_vkCmdBindIndexBuffer() argument
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp491 uint32_t bindingCount = 0; in ComputeVertexInputDesc() local
495 auto& bindingDesc = (*mBindings)[bindingCount]; in ComputeVertexInputDesc()
500 bindingCount++; in ComputeVertexInputDesc()
522 mCreateInfo.vertexBindingDescriptionCount = bindingCount; in ComputeVertexInputDesc()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingValveMutableTests.cpp1457 const auto bindingCount = numBindings(); in makeDescriptorPool() local
1458 poolSizes.reserve(bindingCount); in makeDescriptorPool()
1459 mutableTypesVec.reserve(bindingCount); in makeDescriptorPool()
1460 mutableTypeLists.reserve(bindingCount); in makeDescriptorPool()
1553 const auto bindingCount = numBindings(); in makeOrCheckDescriptorSetLayout() local
1554 bindingsVec.reserve(bindingCount); in makeOrCheckDescriptorSetLayout()
1555 mutableTypesVec.reserve(bindingCount); in makeOrCheckDescriptorSetLayout()
1556 mutableTypeLists.reserve(bindingCount); in makeOrCheckDescriptorSetLayout()
1624 flagsCreateInfo->bindingCount = static_cast<deUint32>(bindingFlagsVec->size()); in makeOrCheckDescriptorSetLayout()
3118 deUint32 bindingCount = 0u; in iterate() local
[all …]
DvktBindingMutableTests.cpp1534 const auto bindingCount = numBindings(); in makeDescriptorPool() local
1535 poolSizes.reserve(bindingCount); in makeDescriptorPool()
1536 mutableTypesVec.reserve(bindingCount); in makeDescriptorPool()
1537 mutableTypeLists.reserve(bindingCount); in makeDescriptorPool()
1630 const auto bindingCount = numBindings(); in makeOrCheckDescriptorSetLayout() local
1631 bindingsVec.reserve(bindingCount); in makeOrCheckDescriptorSetLayout()
1632 mutableTypesVec.reserve(bindingCount); in makeOrCheckDescriptorSetLayout()
1633 mutableTypeLists.reserve(bindingCount); in makeOrCheckDescriptorSetLayout()
1701 flagsCreateInfo->bindingCount = static_cast<deUint32>(bindingFlagsVec->size()); in makeOrCheckDescriptorSetLayout()
3206 deUint32 bindingCount = 0u; in iterate() local
[all …]
/third_party/mesa3d/src/virtio/vulkan/
Dvn_descriptor_set.c136 if (binding_flags && !binding_flags->bindingCount) in vn_descriptor_set_layout_init()
142 for (uint32_t i = 0; i < create_info->bindingCount; i++) { in vn_descriptor_set_layout_init()
200 if (pCreateInfo->bindingCount) { in vn_CreateDescriptorSetLayout()
205 sizeof(*pCreateInfo->pBindings) * pCreateInfo->bindingCount; in vn_CreateDescriptorSetLayout()
212 for (uint32_t i = 0; i < pCreateInfo->bindingCount; i++) { in vn_CreateDescriptorSetLayout()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
DvktBindingMutableTests.cpp1534 const auto bindingCount = numBindings(); in makeDescriptorPool() local
1535 poolSizes.reserve(bindingCount); in makeDescriptorPool()
1536 mutableTypesVec.reserve(bindingCount); in makeDescriptorPool()
1537 mutableTypeLists.reserve(bindingCount); in makeDescriptorPool()
1630 const auto bindingCount = numBindings(); in makeOrCheckDescriptorSetLayout() local
1631 bindingsVec.reserve(bindingCount); in makeOrCheckDescriptorSetLayout()
1632 mutableTypesVec.reserve(bindingCount); in makeOrCheckDescriptorSetLayout()
1633 mutableTypeLists.reserve(bindingCount); in makeOrCheckDescriptorSetLayout()
1701 flagsCreateInfo->bindingCount = static_cast<deUint32>(bindingFlagsVec->size()); in makeOrCheckDescriptorSetLayout()
3206 deUint32 bindingCount = 0u; in iterate() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDescriptorPoolTests.cpp188 deUint32 bindingCount; //!< number of bindings per descriptor set layout in outOfPoolMemoryTest() member
247 …vector<VkDescriptorSetLayoutBinding> descriptorSetLayoutBindings (params.bindingCount, descriptorS… in outOfPoolMemoryTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiDescriptorPoolTests.cpp188 deUint32 bindingCount; //!< number of bindings per descriptor set layout in outOfPoolMemoryTest() member
247 …vector<VkDescriptorSetLayoutBinding> descriptorSetLayoutBindings (params.bindingCount, descriptorS… in outOfPoolMemoryTest()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_cmd_buffer.c39 uint32_t bindingCount, in panvk_CmdBindVertexBuffers() argument
47 assert(firstBinding + bindingCount <= MAX_VBS); in panvk_CmdBindVertexBuffers()
49 for (uint32_t i = 0; i < bindingCount; i++) { in panvk_CmdBindVertexBuffers()
58 cmdbuf->state.vb.count = MAX2(cmdbuf->state.vb.count, firstBinding + bindingCount); in panvk_CmdBindVertexBuffers()

1234567