Home
last modified time | relevance | path

Searched refs:bindingNumber (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkPipelineLayout.cpp100 uint32_t PipelineLayout::getDynamicOffsetIndex(uint32_t setNumber, uint32_t bindingNumber) const in getDynamicOffsetIndex()
102 ASSERT(setNumber < descriptorSetCount && bindingNumber < descriptorSets[setNumber].bindingCount); in getDynamicOffsetIndex()
103 return descriptorSets[setNumber].bindings[bindingNumber].dynamicOffsetIndex; in getDynamicOffsetIndex()
106 uint32_t PipelineLayout::getDescriptorCount(uint32_t setNumber, uint32_t bindingNumber) const in getDescriptorCount()
108 ASSERT(setNumber < descriptorSetCount && bindingNumber < descriptorSets[setNumber].bindingCount); in getDescriptorCount()
109 return descriptorSets[setNumber].bindings[bindingNumber].descriptorCount; in getDescriptorCount()
112 uint32_t PipelineLayout::getBindingOffset(uint32_t setNumber, uint32_t bindingNumber) const in getBindingOffset()
114 ASSERT(setNumber < descriptorSetCount && bindingNumber < descriptorSets[setNumber].bindingCount); in getBindingOffset()
115 return descriptorSets[setNumber].bindings[bindingNumber].offset; in getBindingOffset()
118 VkDescriptorType PipelineLayout::getDescriptorType(uint32_t setNumber, uint32_t bindingNumber) const in getDescriptorType()
[all …]
DVkPipelineLayout.hpp37 uint32_t getDynamicOffsetIndex(uint32_t setNumber, uint32_t bindingNumber) const;
38 uint32_t getDescriptorCount(uint32_t setNumber, uint32_t bindingNumber) const;
39 uint32_t getBindingOffset(uint32_t setNumber, uint32_t bindingNumber) const;
40 VkDescriptorType getDescriptorType(uint32_t setNumber, uint32_t bindingNumber) const;
41 uint32_t getDescriptorSize(uint32_t setNumber, uint32_t bindingNumber) const;
42 bool isDescriptorDynamic(uint32_t setNumber, uint32_t bindingNumber) const;
DVkDescriptorSetLayout.hpp117 uint32_t getBindingOffset(uint32_t bindingNumber) const;
120 uint32_t getDescriptorCount(uint32_t bindingNumber) const;
129 uint32_t getDynamicOffsetIndex(uint32_t bindingNumber) const;
132 VkDescriptorType getDescriptorType(uint32_t bindingNumber) const;
139 …uint8_t *getDescriptorPointer(DescriptorSet *descriptorSet, uint32_t bindingNumber, uint32_t array…
DVkDescriptorSetLayout.cpp221 uint32_t DescriptorSetLayout::getBindingOffset(uint32_t bindingNumber) const in getBindingOffset()
223 ASSERT(bindingNumber < bindingsArraySize); in getBindingOffset()
224 return bindings[bindingNumber].offset; in getBindingOffset()
227 uint32_t DescriptorSetLayout::getDescriptorCount(uint32_t bindingNumber) const in getDescriptorCount()
229 ASSERT(bindingNumber < bindingsArraySize); in getDescriptorCount()
230 return bindings[bindingNumber].descriptorCount; in getDescriptorCount()
247 uint32_t DescriptorSetLayout::getDynamicOffsetIndex(uint32_t bindingNumber) const in getDynamicOffsetIndex()
249 ASSERT(bindingNumber < bindingsArraySize); in getDynamicOffsetIndex()
250 ASSERT(IsDescriptorDynamic(bindings[bindingNumber].descriptorType)); in getDynamicOffsetIndex()
253 for(uint32_t i = 0; i < bindingNumber; i++) in getDynamicOffsetIndex()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.cpp39 std::string GetBindingName(BindGroupIndex group, BindingNumber bindingNumber) { in GetBindingName() argument
42 << static_cast<uint32_t>(bindingNumber); in GetBindingName()
91 BindingNumber bindingNumber( in ExtractSpirvInfo() local
100 (*bindings)[bindGroupIndex].emplace(bindingNumber, ShaderBindingInfo{}); in ExtractSpirvInfo()
365 BindingNumber bindingNumber = it.first; in TranslateToGLSL() local
368 if (!bgl->HasBinding(bindingNumber)) { in TranslateToGLSL()
380 BindingIndex bindingIndex = bgl->GetBindingIndex(bindingNumber); in TranslateToGLSL()
DShaderModuleGL.h27 std::string GetBindingName(BindGroupIndex group, BindingNumber bindingNumber);
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBindGroupLayout.cpp165 BindingNumber bindingNumber = BindingNumber(entry.binding); in ValidateBindGroupLayoutDescriptor() local
167 DAWN_INVALID_IF(bindingsSet.count(bindingNumber) != 0, in ValidateBindGroupLayoutDescriptor()
176 bindingsSet.insert(bindingNumber); in ValidateBindGroupLayoutDescriptor()
431 bool BindGroupLayoutBase::HasBinding(BindingNumber bindingNumber) const { in HasBinding()
432 return mBindingMap.count(bindingNumber) != 0; in HasBinding()
435 BindingIndex BindGroupLayoutBase::GetBindingIndex(BindingNumber bindingNumber) const { in GetBindingIndex()
437 const auto& it = mBindingMap.find(bindingNumber); in GetBindingIndex()
DBindGroupLayout.h67 bool HasBinding(BindingNumber bindingNumber) const;
68 BindingIndex GetBindingIndex(BindingNumber bindingNumber) const;
DPipelineLayout.cpp272 BindingNumber bindingNumber = bindingIt.first; in CreateDefault() local
278 entry.binding = static_cast<uint32_t>(bindingNumber); in CreateDefault()
283 const auto& insertion = entryData[group].insert({bindingNumber, entry}); in CreateDefault()
DShaderModule.cpp478 BindingNumber bindingNumber, in ValidateCompatibilityOfSingleBindingWithLayout() argument
482 const auto& bindingIt = layoutBindings.find(bindingNumber); in ValidateCompatibilityOfSingleBindingWithLayout()
866 BindingNumber bindingNumber(resource.binding); in ReflectShaderUsingTint() local
870 bindingNumber, ShaderBindingInfo{}); in ReflectShaderUsingTint()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDynamicOffsetTests.cpp382 …const deUint32 bindingNumber = (m_params.groupingStrategy == GroupingStrategy::SINGLE_SE… in init() local
386 bindingNumber, // uint32_t binding; in init()
520 deUint32 bindingNumber; in init() local
526 bindingNumber = binding; in init()
532 bindingNumber = 0u; in init()
538 bindingNumber = 0u; in init()
547 bindingNumber, // uint32_t dstBinding; in init()
943 …const deUint32 bindingNumber = (m_params.groupingStrategy == GroupingStrategy::SINGLE_SET… in init() local
947 bindingNumber, // uint32_t binding; in init()
1111 deUint32 bindingNumber; in init() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineDynamicOffsetTests.cpp382 …const deUint32 bindingNumber = (m_params.groupingStrategy == GroupingStrategy::SINGLE_SE… in init() local
386 bindingNumber, // uint32_t binding; in init()
520 deUint32 bindingNumber; in init() local
526 bindingNumber = binding; in init()
532 bindingNumber = 0u; in init()
538 bindingNumber = 0u; in init()
547 bindingNumber, // uint32_t dstBinding; in init()
943 …const deUint32 bindingNumber = (m_params.groupingStrategy == GroupingStrategy::SINGLE_SET… in init() local
947 bindingNumber, // uint32_t binding; in init()
1111 deUint32 bindingNumber; in init() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiMaintenance3Check.cpp397 deUint32 bindingNumber = 0u; in calculateBindings() local
408 b.binding = bindingNumber; in calculateBindings()
425 b.binding = bindingNumber + i; in calculateBindings()
432 bindingNumber += tc.second.count; in calculateBindings()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiMaintenance3Check.cpp397 deUint32 bindingNumber = 0u; in calculateBindings() local
408 b.binding = bindingNumber; in calculateBindings()
425 b.binding = bindingNumber + i; in calculateBindings()
432 bindingNumber += tc.second.count; in calculateBindings()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DShaderModuleMTL.mm72 BindingNumber bindingNumber = it.first;
85 static_cast<uint32_t>(bindingNumber)};
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
DvktRayTracingBarrierTests.cpp994 const deUint32 bindingNumber = (asNeeded ? 2u : 1u); in updateDescriptorSet() local
997 …ta.descriptorSet.get(), DescriptorSetUpdateBuilder::Location::binding(bindingNumber), VK_DESCRIPTO… in updateDescriptorSet()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingBarrierTests.cpp994 const deUint32 bindingNumber = (asNeeded ? 2u : 1u); in updateDescriptorSet() local
997 …ta.descriptorSet.get(), DescriptorSetUpdateBuilder::Location::binding(bindingNumber), VK_DESCRIPTO… in updateDescriptorSet()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingValveMutableTests.cpp1794 const auto bindingNumber = static_cast<deUint32>(bindingIdx); in copyDescriptorSet() local
1802 srcSet, bindingNumber, 0u, in copyDescriptorSet()
1803 dstSet, bindingNumber, 0u, in copyDescriptorSet()
DvktBindingMutableTests.cpp1871 const auto bindingNumber = static_cast<deUint32>(bindingIdx); in copyDescriptorSet() local
1879 srcSet, bindingNumber, 0u, in copyDescriptorSet()
1880 dstSet, bindingNumber, 0u, in copyDescriptorSet()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
DvktBindingMutableTests.cpp1871 const auto bindingNumber = static_cast<deUint32>(bindingIdx); in copyDescriptorSet() local
1879 srcSet, bindingNumber, 0u, in copyDescriptorSet()
1880 dstSet, bindingNumber, 0u, in copyDescriptorSet()