Home
last modified time | relevance | path

Searched refs:MAX_DESCRIPTOR_SET_COUNT (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Dpipeline_descriptor_set_binder.cpp548 PLUGIN_STATIC_ASSERT(PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT == 4U); in PipelineDescriptorSetBinder()
564 if (pipelineDescRef.set >= PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in Init()
608 if (set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in BindBuffer()
624 if (set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in BindBuffers()
635 if (set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in BindImage()
651 if (set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in BindImages()
662 if (set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in BindSampler()
679 if (set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in BindSamplers()
689 if (set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in GetDescriptorSetHandle()
701 if (set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in GetDescriptorSetLayoutBindingResources()
[all …]
H A Dnode_context_descriptor_set_manager.cpp278 …orSetLayoutBindings descriptorSetLayoutBindings[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT]; in CreatePipelineDescriptorSetBinder()
279 RenderHandle handles[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT]; in CreatePipelineDescriptorSetBinder()
280 for (uint32_t idx = 0; idx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++idx) { in CreatePipelineDescriptorSetBinder()
281 …pipelineLayout.descriptorSetLayouts[idx].set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in CreatePipelineDescriptorSetBinder()
H A Drender_command_list.cpp38 PLUGIN_STATIC_ASSERT(PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT == 4);
483 for (uint32_t idx = 0; idx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++idx) { in AddBarrierPoint()
1559 if (maxSetNumber > PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in BindDescriptorSets()
1561 maxSetNumber, PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT); in BindDescriptorSets()
1568 if ((descriptorSetData.size() > PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT)) { in BindDescriptorSets()
1588 if (currSet < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in BindDescriptorSets()
1635 BindDescriptorSetData bdsd[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT]; in BindDescriptorSets()
1637 …ath::min(static_cast<uint32_t>(handles.size()), PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT); in BindDescriptorSets()
1960 … uint32_t bindSetIndices[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT] { ~0u, ~0u, ~0u, ~0u }; in ValidatePipelineLayout()
1961 for (uint32_t idx = 0; idx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++idx) { in ValidatePipelineLayout()
H A Drender_command_list.h208 …RenderHandle descriptorSetHandles[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT] { {}, {}, {},…
214 …orSetDynamicOffsets descriptorSetDynamicOffsets[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT];
650 DescriptorSetBind currentBoundSets[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT];
H A Dnode_context_pso_manager.cpp203 for (uint32_t idx = 0; idx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++idx) { in GetComputePsoHandle()
275 for (uint32_t idx = 0; idx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++idx) { in GetGraphicsPsoHandleImpl()
H A Dpipeline_descriptor_set_binder.h209 …uint32_t setToBinderIndex_[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT] { ~0u, ~0u, ~0u, ~0u…
H A Drender_node_util.cpp244 … for (uint32_t setIdx = 0; setIdx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++setIdx) { in GetDescriptorCounts()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dpipeline_layout_loader.cpp102 if (inputDescriptorSetCount > PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in Load()
104 … uri.data(), inputDescriptorSetCount, PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT); in Load()
124 if (setIndex < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in Load()
130 …ptorSetCount = Math::min(pl.descriptorSetCount, PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT); in Load()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_pipeline_binder.cpp142 … set = Math::min(set, PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT); in UpdateBindingPropertyMetadata()
166 …orSetLayoutBindings descriptorSetLayoutBindings[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT]; in CreatePipelineDescriptorSetBinder()
167 for (uint32_t idx = 0; idx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++idx) { in CreatePipelineDescriptorSetBinder()
168 …pipelineLayout.descriptorSetLayouts[idx].set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in CreatePipelineDescriptorSetBinder()
369 if (resource.handle && set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in BindBuffer()
400 if ((!resources.empty()) && set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in BindBuffers()
432 if (resource.handle && (set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT)) { in BindImage()
465 if ((!resources.empty()) && (set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT)) { in BindImages()
498 if (resource.handle && (set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT)) { in BindSampler()
527 if ((!resources.empty()) && (set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT)) { in BindSamplers()
[all …]
H A Dshader_pipeline_binder.h170 …uint32_t setToBinderIndex_[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT] { ~0u, ~0u, ~0u, ~0u…
H A Dgpu_program_util.cpp78 for (uint32_t idx = 0; idx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++idx) { in CombinePipelineLayouts()
H A Dshader_manager.cpp153 … for (uint32_t setIdx = 0; setIdx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++setIdx) { in GetPipelineLayoutCompatibilityFlags()
178 … for (uint32_t setIdx = 0; setIdx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++setIdx) { in GetPipelineLayoutCompatibilityFlags()
1500 if (pipelineLayout.descriptorSetCount > PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT || in CreatePipelineLayout()
1504 … createInfo.path.data(), ref.descriptorSetCount, PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT, in CreatePipelineLayout()
1510 … Math::min(PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT, pipelineLayout.descriptorSetCount); in CreatePipelineLayout()
1515 for (uint32_t idx = 0; idx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++idx) { in CreatePipelineLayout()
1517 if (setIdx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in CreatePipelineLayout()
2176 PLUGIN_ASSERT(set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT); in GetPipelineLayout()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_node_shader_passes_generic.cpp211 … RenderHandle descriptorSetHandles[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT] {}; in ExecuteFrameGraphics()
213 … for (uint32_t setIdx = 0U; setIdx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++setIdx) { in ExecuteFrameGraphics()
215 if (currSet.set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in ExecuteFrameGraphics()
300 RenderHandle descriptorSetHandles[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT] {}; in ExecuteFrameCompute()
302 … for (uint32_t setIdx = 0U; setIdx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++setIdx) { in ExecuteFrameCompute()
304 if (currSet.set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in ExecuteFrameCompute()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dpipeline_create_functions_vk.h68 PLUGIN_STATIC_ASSERT(PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT == 4u);
69 LowLevelDescriptorSetVk descriptorSetLayouts[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT];
H A Dpipeline_state_object_vk.cpp86 …VkDescriptorSetLayout descriptorSetLayouts[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT] { VK…
89 …bool descriptorSetLayoutOwnership[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT] { true, true,…
102 …t32_t operationIdx = 0; operationIdx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++operat… in GetDescriptorSetFillData()
504 for (uint32_t idx = 0; idx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++idx) { in GraphicsPipelineStateObjectVk()
619 for (uint32_t idx = 0; idx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++idx) { in ComputePipelineStateObjectVk()
H A Drender_backend_vk.cpp2145 …if (valid && (firstSet + setCount <= PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) && (setCou… in RenderCommand()
2150 VkDescriptorSet descriptorSets[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT]; in RenderCommand()
2176 PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT]; in RenderCommand()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dpipeline_layout_desc.h33 static constexpr uint32_t MAX_DESCRIPTOR_SET_COUNT { 4u };
223 DescriptorSetLayout descriptorSetLayouts[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT] {};
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Dmain.cpp433 static constexpr uint32_t MAX_DESCRIPTOR_SET_COUNT { 4u }; member
477 DescriptorSetLayout descriptorSetLayouts[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT] {};
608 assert(set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT); in GetPipelineLayout()
975 assert(set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT); in processResource()
976 if (set >= PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { in processResource()
1037 std::sort(layouts, layouts + PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT, in reflectDescriptorSets()
1041 …layouts, layouts + PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT, [](DescriptorSetLayout& layo… in reflectDescriptorSets()
1232 return layout.set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; in reflectSpvBinary()
1386 for (uint32_t idx = 0; idx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++idx) { in SortSets()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dshader_module_gles.cpp121 for (uint32_t idx = 0; idx < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++idx) { in SortSets()
H A Drender_backend_gles.h237 BindState boundObjects_[PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT];
H A Dgpu_program_gles.cpp398 for (uint32_t set = 0; set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; set++) { in BuildBindInfos()
H A Drender_backend_gles.cpp991 for (uint32_t set = 0; set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT; ++set) { in SetupCache()
2533 PLUGIN_ASSERT(r.set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT); in BindResources()