/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | pipeline_layout_loader.cpp | 76 PipelineLayoutLoader::LoadResult Load(const json::value& jsonData, const string_view uri, PipelineLayout& pl) in Load() argument 79 pl = {}; // reset in Load() 82 SafeGetJsonValue(*pcIter, "size", result.error, pl.pushConstant.byteSize); in Load() 83 SafeGetJsonValue(*pcIter, "byteSize", result.error, pl.pushConstant.byteSize); in Load() 85 *pcIter, "shaderStageFlags", result.error, pl.pushConstant.shaderStageFlags); in Load() 87 if (pl.pushConstant.byteSize > PipelineLayoutConstants::MAX_PUSH_CONSTANT_BYTE_SIZE) { in Load() 89 uri.data(), pl.pushConstant.byteSize, PipelineLayoutConstants::MAX_PUSH_CONSTANT_BYTE_SIZE); in Load() 92 pl.pushConstant.byteSize = in Load() 93 Math::min(PipelineLayoutConstants::MAX_PUSH_CONSTANT_BYTE_SIZE, pl.pushConstant.byteSize); in Load() 125 pl in Load() [all...] |
/foundation/graphic/graphic_3d/lume/LumeDotfield/src/render/ |
H A D | render_node_dotfield_simulation.cpp | 59 auto createDescriptorSet = [](INodeContextDescriptorSetManager& descriptorSetMgr, PipelineLayout& pl, in CreateBinders() 61 const RenderHandle setDescHandle = descriptorSetMgr.CreateDescriptorSet(bufferSetIndex, pl); in CreateBinders() 63 setDescHandle, pl.descriptorSetLayouts[bufferSetIndex].bindings); in CreateBinders() 67 PipelineLayout& pl, uint32_t bufferSetIndex, in CreateBinders() 70 createDescriptorSet(descriptorSetMgr, pl, bufferSetIndex, binder); in CreateBinders() 77 currBinders.pl = shaderMgr.GetPipelineLayout( in CreateBinders() 79 PipelineLayout& pl = currBinders.pl; in CreateBinders() local 80 CORE_ASSERT(pl.pushConstant.byteSize == sizeof(DotfieldSimulationPushConstantStruct)); in CreateBinders() 82 createDescriptorSets(descriptorSetMgr, pl, prevBuffersSet in CreateBinders() 194 GetPsoData( IRenderNodeContextManager& renderNodeContextMgr, const PipelineLayout& pl, const RenderHandle& shaderHandle, bool firstFrame) GetPsoData() argument [all...] |
H A D | render_node_dotfield_simulation.h | 63 RENDER_NS::PipelineLayout pl; member 80 PsoData GetPsoData(RENDER_NS::IRenderNodeContextManager& renderNodeContextMgr, const RENDER_NS::PipelineLayout& pl,
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_bloom.cpp | 610 const PipelineLayout& pl = shaderMgr.GetReflectionPipelineLayout(shader); in CreateComputePsos() local 618 psoMgr.GetComputePsoHandle(shader, pl, specDataView); in CreateComputePsos() 622 const PipelineLayout& pl = shaderMgr.GetReflectionPipelineLayout(shader); in CreateComputePsos() local 630 psoMgr.GetComputePsoHandle(shader, pl, specDataView); in CreateComputePsos() 640 const PipelineLayout& pl = shaderMgr.GetReflectionPipelineLayout(shaderHandle); in CreateComputePsos() local 641 psos_.downscaleAndThreshold = psoMgr.GetComputePsoHandle(shaderHandle, pl, {}); in CreateComputePsos() 644 const auto& gBinds = pl.descriptorSetLayouts[globalSet].bindings; in CreateComputePsos() 647 const auto& lBinds = pl.descriptorSetLayouts[localSetIdx].bindings; in CreateComputePsos() 653 const PipelineLayout& pl = shaderMgr.GetReflectionPipelineLayout(shaderHandle); in CreateComputePsos() local 654 psos_.downscale = psoMgr.GetComputePsoHandle(shaderHandle, pl, {}); in CreateComputePsos() 666 const PipelineLayout& pl = shaderMgr.GetReflectionPipelineLayout(shaderHandle); CreateComputePsos() local 679 const PipelineLayout& pl = shaderMgr.GetReflectionPipelineLayout(shaderHandle); CreateComputePsos() local 694 const PipelineLayout& pl = shaderMgr.GetReflectionPipelineLayout(shaderHandle); CreateAndReflectRenderPso() local 728 const PipelineLayout& pl = shaderMgr.GetReflectionPipelineLayout(shader); CreateRenderPsos() local 741 const PipelineLayout& pl = shaderMgr.GetReflectionPipelineLayout(shader); CreateRenderPsos() local [all...] |
H A D | render_node_shader_passes_generic.cpp | 194 const PipelineLayout& pl = sRef.GetPipelineLayout(); in ExecuteFrameGraphics() local 195 const RenderHandle psoHandle = GetPsoHandleGraphics(renderPass, sRef.GetShaderHandle().GetHandle(), pl); in ExecuteFrameGraphics() 214 const auto& currSet = pl.descriptorSetLayouts[setIdx]; in ExecuteFrameGraphics() 283 const PipelineLayout& pl = sRef.GetPipelineLayout(); in ExecuteFrameCompute() local 284 const RenderHandle psoHandle = GetPsoHandleCompute(shaderHandle, pl); in ExecuteFrameCompute() 303 const auto& currSet = pl.descriptorSetLayouts[setIdx]; in ExecuteFrameCompute()
|
H A D | render_copy.cpp | 143 const auto& pl = in Execute() local 145 if (pl.pushConstant.byteSize > 0) { in Execute() 150 cmdList.PushConstantData(pl.pushConstant, arrayviewU8(pc)); in Execute()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | node_context_pso_manager.cpp | 234 const PipelineLayout& pl = shaderMgr_.GetPipelineLayoutRef(pipelineLayoutHandle); in GetComputePsoHandle() local 235 psoHandle = GetComputePsoHandle(shaderHandle, pl, shaderSpecialization); in GetComputePsoHandle() 323 const PipelineLayout& pl = shaderMgr_.GetPipelineLayout(pipelineLayoutHandle); in GetGraphicsPsoHandle() local 330 shaderHandle, gfxStateHandle, pl, vidView, shaderSpecialization, dynamicStates, nullptr); in GetGraphicsPsoHandle() 359 static PipelineLayout pl; in GetComputePsoPipelineLayout() local 360 return pl; in GetComputePsoPipelineLayout() 372 static PipelineLayout pl; in GetGraphicsPsoPipelineLayout() local 373 return pl; in GetGraphicsPsoPipelineLayout()
|
H A D | render_node_post_process_util.cpp | 576 fxaaData_.shader, gfxHandle, fxaaData_.pl, {}, {}, { DYNAMIC_STATES, countof(DYNAMIC_STATES) }); in ExecuteFXAA() 631 taaData_.shader, gfxHandle, taaData_.pl, {}, {}, { DYNAMIC_STATES, countof(DYNAMIC_STATES) }); in ExecuteTAA() 709 dofBlurData_.shader, gfxHandle, dofBlurData_.pl, {}, {}, { DYNAMIC_STATES, countof(DYNAMIC_STATES) }); in ExecuteDofBlur() 778 dofData_.shader, gfxHandle, dofData_.pl, {}, {}, { DYNAMIC_STATES, countof(DYNAMIC_STATES) }); in ExecuteDof() 952 combineData_.pl = shaderMgr.GetPipelineLayoutHandleByShaderHandle(combineData_.shader); in InitCreateShaderResources() 953 if (!RenderHandleUtil::IsValid(combineData_.pl)) { in InitCreateShaderResources() 954 combineData_.pl = shaderMgr.GetReflectionPipelineLayoutHandle(combineData_.shader); in InitCreateShaderResources() 956 combineData_.pipelineLayout = shaderMgr.GetPipelineLayout(combineData_.pl); in InitCreateShaderResources() 958 copyData_.pl = shaderMgr.GetPipelineLayoutHandleByShaderHandle(copyData_.shader); in InitCreateShaderResources() 959 if (!RenderHandleUtil::IsValid(copyData_.pl)) { in InitCreateShaderResources() [all...] |
H A D | render_node_post_process_util.h | 89 RenderHandle pl; member
|
H A D | render_command_list.cpp | 1954 const PipelineLayout& pl = (rhType == RenderHandleType::COMPUTE_PSO) in ValidatePipelineLayout() local 1957 const uint32_t plDescriptorSetCount = pl.descriptorSetCount; in ValidatePipelineLayout()
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/ |
H A D | entity_collection.cpp | 727 bool SetPropertyDefined(EntityCollection::PropertyList& pl, string_view propertyPath) 729 for (const auto& prop : pl) { 747 pl.push_back(string(propertyPath)); 750 bool SetPropertyUndefined(EntityCollection::PropertyList& pl, string_view propertyPath) 752 for (size_t i = 0; i < pl.size(); ++i) { 753 if (pl[i] == propertyPath) { 754 pl.erase(pl.begin() + static_cast<int64_t>(i));
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | entity_collection.cpp | 760 bool SetPropertyDefined(EntityCollection::PropertyList& pl, string_view propertyPath) 762 for (const auto& prop : pl) { 780 pl.push_back(string(propertyPath)); 783 bool SetPropertyUndefined(EntityCollection::PropertyList& pl, string_view propertyPath) 785 for (size_t i = 0; i < pl.size(); ++i) { 786 if (pl[i] == propertyPath) { 787 pl.erase(pl.begin() + i);
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ |
H A D | plugin_registry.cpp | 392 [uid](const IPlugin* pl) { return pl && pl->version.uid == uid; }); in UnloadPlugins() 578 [&plugin](const IPlugin* pl) { return strcmp(plugin.name, pl->name) == 0; })) { in RegisterPlugin()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_default_shadow_render_slot.cpp | 501 const PipelineLayout& pl = shaderMgr.GetPipelineLayout(currPl); in CreateNewPso() local 504 currShader, gfxState, pl, vidv, specialization, { DYNAMIC_STATES, countof(DYNAMIC_STATES) }); in CreateNewPso()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | shader_manager.cpp | 564 PipelineLayout pl; in Create() local 565 GpuProgramUtil::CombinePipelineLayouts({ layouts, 2u }, pl); in Create() 566 const RenderHandleReference plRhr = CreatePipelineLayout({ fullName, pl }); in Create()
|