/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/ |
H A D | intf_node_context_pso_manager.h | 53 virtual RenderHandle GetComputePsoHandle(const RenderHandle shader, const RenderHandle pipelineLayout, 58 * @param pipelineLayout Pipeline layout 62 virtual RenderHandle GetComputePsoHandle(const RenderHandle shader, const PipelineLayout& pipelineLayout, 71 * @param pipelineLayout A valid pipeline layout handle 78 const RenderHandle pipelineLayout, const RenderHandle vertexInputDeclaration, 87 * @param pipelineLayout Pipeline layout 94 const PipelineLayout& pipelineLayout, const VertexInputDeclarationView& vertexInputDeclarationView, 103 * @param pipelineLayout Pipeline layout 110 const PipelineLayout& pipelineLayout, const VertexInputDeclarationView& vertexInputDeclarationView,
|
H A D | intf_node_context_descriptor_set_manager.h | 71 virtual RenderHandle CreateDescriptorSet(const uint32_t set, const PipelineLayout& pipelineLayout) = 0; 80 * @param pipelineLayout PipelineLayout 83 const PipelineLayout& pipelineLayout) = 0; 87 * @param pipelineLayout PipelineLayout 91 virtual IPipelineDescriptorSetBinder::Ptr CreatePipelineDescriptorSetBinder(const PipelineLayout& pipelineLayout, 104 virtual RenderHandle CreateOneFrameDescriptorSet(const uint32_t set, const PipelineLayout& pipelineLayout) = 0;
|
H A D | intf_render_node_util.h | 66 * @param pipelineLayout Valid pipeline layout which matches upcoming bindings. 69 virtual DescriptorCounts GetDescriptorCounts(const PipelineLayout& pipelineLayout) const = 0; 80 * @param pipelineLayout Pipeline layout. 84 const PipelineLayout& pipelineLayout) const = 0;
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_motion_blur.cpp | 58 renderData_.pipelineLayout = shaderMgr.GetReflectionPipelineLayout(renderData_.shader); in Init() 61 renderData_.pipelineLayout, {}, {}, { DYNAMIC_STATES, countof(DYNAMIC_STATES) }); in Init() 67 renderTileMaxData_.pipelineLayout = shaderMgr.GetReflectionPipelineLayout(renderTileMaxData_.shader); in Init() 70 graphicsState, renderTileMaxData_.pipelineLayout, {}, {}, { DYNAMIC_STATES, countof(DYNAMIC_STATES) }); in Init() 76 renderTileNeighborData_.pipelineLayout = shaderMgr.GetReflectionPipelineLayout(renderTileNeighborData_.shader); in Init() 85 renderTileNeighborData_.shader, graphicsState, renderTileNeighborData_.pipelineLayout, {}, specDataView, in Init() 92 renderTileNeighborData_.shader, graphicsState, renderTileNeighborData_.pipelineLayout, {}, specDataView, in Init() 99 renderTileNeighborData_.shader, graphicsState, renderTileNeighborData_.pipelineLayout, {}, specDataView, in Init() 113 const auto& bindings = renderData_.pipelineLayout.descriptorSetLayouts[globalSet].bindings; in Init() 118 const auto& bindings = renderData_.pipelineLayout in Init() [all...] |
H A D | render_copy.cpp | 61 IRenderNodeContextManager& renderNodeContextMgr, const RenderHandle& shader, const PipelineLayout& pipelineLayout) in CreatePso() 67 shader, graphicsStateHandle, pipelineLayout, {}, {}, { DYNAMIC_STATES, countof(DYNAMIC_STATES) }); in CreatePso() 78 renderData_.pipelineLayout = shaderMgr.GetReflectionPipelineLayout(renderData_.shader); in Init() 88 const auto& bindings = renderData_.pipelineLayout.descriptorSetLayouts[0U].bindings; in Init() 116 renderData_.pso = CreatePso(renderNodeContextMgr, renderData_.shader, renderData_.pipelineLayout); in Execute() 144 (copyInfo_.copyType == CopyType::LAYER_COPY) ? renderData_.pipelineLayoutLayer : renderData_.pipelineLayout; in Execute() 60 CreatePso( IRenderNodeContextManager& renderNodeContextMgr, const RenderHandle& shader, const PipelineLayout& pipelineLayout) CreatePso() argument
|
H A D | render_node_fullscreen_generic.cpp | 64 pipelineData_.pipelineLayout = shaderMgr.GetPipelineLayoutHandleByShaderHandle(pipelineData_.shader); in InitNode() 65 if (!RenderHandleUtil::IsValid(pipelineData_.pipelineLayout)) { in InitNode() 66 pipelineData_.pipelineLayout = shaderMgr.GetReflectionPipelineLayoutHandle(pipelineData_.shader); in InitNode() 69 pipelineData_.pipelineLayoutData = shaderMgr.GetPipelineLayout(pipelineData_.pipelineLayout); in InitNode() 194 pipelineData_.shader, pipelineData_.graphicsState, pipelineData_.pipelineLayout, {}, in GetPsoHandle() 213 pipelineData_.graphicsState, pipelineData_.pipelineLayout, {}, {}, { dynamicStates, dynamicStateCount }); in GetPsoHandle()
|
H A D | render_motion_blur.h | 64 PipelineLayout pipelineLayout; member 70 PipelineLayout pipelineLayout; member
|
H A D | render_node_shader_passes_generic.h | 63 const RenderPass& renderPass, const RenderHandle& shader, const PipelineLayout& pipelineLayout); 64 RenderHandle GetPsoHandleCompute(const RenderHandle& shader, const PipelineLayout& pipelineLayout);
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | node_context_pso_manager.h | 61 RenderHandle GetComputePsoHandle(const RenderHandle shader, const RenderHandle pipelineLayout, 63 RenderHandle GetComputePsoHandle(const RenderHandle shader, const PipelineLayout& pipelineLayout, 67 const RenderHandle pipelineLayout, const RenderHandle vertexInputDeclaration, 71 const PipelineLayout& pipelineLayout, const VertexInputDeclarationView& vertexInputDeclarationView, 75 const PipelineLayout& pipelineLayout, const VertexInputDeclarationView& vertexInputDeclarationView, 100 const PipelineLayout& pipelineLayout, const VertexInputDeclarationView& vertexInputDeclarationView, 106 PipelineLayout pipelineLayout; member 130 PipelineLayout pipelineLayout; member
|
H A D | node_context_pso_manager.cpp | 179 const PipelineLayout& pipelineLayout, const ShaderSpecializationConstantDataView& shaderSpecialization) in GetComputePsoHandle() 204 if (pipelineLayout.descriptorSetLayouts[idx].set != PipelineLayoutConstants::INVALID_INDEX) { in GetComputePsoHandle() 212 cache.handleToPipelineLayout[psoHandle] = pipelineLayout; in GetComputePsoHandle() 221 cache.psoCreationData.push_back({ shaderHandle, pipelineLayout, move(ssw) }); in GetComputePsoHandle() 243 const RenderHandle graphicsState, const PipelineLayout& pipelineLayout, in GetGraphicsPsoHandleImpl() 276 if (pipelineLayout.descriptorSetLayouts[idx].set != PipelineLayoutConstants::INVALID_INDEX) { in GetGraphicsPsoHandleImpl() 296 cache.handleToPipelineLayout[psoHandle] = pipelineLayout; in GetGraphicsPsoHandleImpl() 304 psoCreationData.pipelineLayout = pipelineLayout; in GetGraphicsPsoHandleImpl() 335 const PipelineLayout& pipelineLayout, cons in GetGraphicsPsoHandle() 178 GetComputePsoHandle(const RenderHandle shaderHandle, const PipelineLayout& pipelineLayout, const ShaderSpecializationConstantDataView& shaderSpecialization) GetComputePsoHandle() argument 242 GetGraphicsPsoHandleImpl(const RenderHandle shader, const RenderHandle graphicsState, const PipelineLayout& pipelineLayout, const VertexInputDeclarationView& vertexInputDeclarationView, const ShaderSpecializationConstantDataView& shaderSpecialization, const array_view<const DynamicStateEnum> dynamicStates, const GraphicsState* customGraphicsState) GetGraphicsPsoHandleImpl() argument 334 GetGraphicsPsoHandle(const RenderHandle shader, const RenderHandle graphicsState, const PipelineLayout& pipelineLayout, const VertexInputDeclarationView& vertexInputDeclarationView, const ShaderSpecializationConstantDataView& shaderSpecialization, const array_view<const DynamicStateEnum> dynamicStates) GetGraphicsPsoHandle() argument 343 GetGraphicsPsoHandle(const RenderHandle shader, const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout, const VertexInputDeclarationView& vertexInputDeclarationView, const ShaderSpecializationConstantDataView& shaderSpecialization, const array_view<const DynamicStateEnum> dynamicStates) GetGraphicsPsoHandle() argument [all...] |
H A D | node_context_descriptor_set_manager.cpp | 223 const uint32_t set, const PipelineLayout& pipelineLayout) 225 if (set < pipelineLayout.descriptorSetCount) { 226 const auto& ref = pipelineLayout.descriptorSetLayouts[set]; 255 const uint32_t set, const PipelineLayout& pipelineLayout) 257 if (set < pipelineLayout.descriptorSetCount) { 258 const auto& ref = pipelineLayout.descriptorSetLayouts[set]; 276 const PipelineLayout& pipelineLayout) 281 if (pipelineLayout.descriptorSetLayouts[idx].set < PipelineLayoutConstants::MAX_DESCRIPTOR_SET_COUNT) { 282 descriptorSetLayoutBindings[idx] = { pipelineLayout.descriptorSetLayouts[idx].bindings }; 294 pipelineLayout, handle [all...] |
H A D | node_context_descriptor_set_manager.h | 60 RenderHandle CreateDescriptorSet(const uint32_t set, const PipelineLayout& pipelineLayout) override; 65 IPipelineDescriptorSetBinder::Ptr CreatePipelineDescriptorSetBinder(const PipelineLayout& pipelineLayout) override; 66 IPipelineDescriptorSetBinder::Ptr CreatePipelineDescriptorSetBinder(const PipelineLayout& pipelineLayout, 74 virtual RenderHandle CreateOneFrameDescriptorSet(const uint32_t set, const PipelineLayout& pipelineLayout) override;
|
H A D | render_node_post_process_util.cpp | 165 descriptorCounts.push_back(renderNodeUtil.GetDescriptorCounts(combineData_.pipelineLayout)); in Init() 166 descriptorCounts.push_back(renderNodeUtil.GetDescriptorCounts(fxaaData_.pipelineLayout)); in Init() 167 descriptorCounts.push_back(renderNodeUtil.GetDescriptorCounts(taaData_.pipelineLayout)); in Init() 168 descriptorCounts.push_back(renderNodeUtil.GetDescriptorCounts(dofBlurData_.pipelineLayout)); in Init() 171 descriptorCounts.push_back(renderNodeUtil.GetDescriptorCounts(dofData_.pipelineLayout)); in Init() 172 descriptorCounts.push_back(renderNodeUtil.GetDescriptorCounts(copyData_.pipelineLayout)); in Init() 516 effect.pso = psoMgr.GetGraphicsPsoHandle(effect.shader, graphicsStateHandle, effect.pipelineLayout, {}, {}, in ExecuteCombine() 557 if (effect.pipelineLayout.pushConstant.byteSize > 0) { in ExecuteCombine() 561 cmdList.PushConstantData(effect.pipelineLayout.pushConstant, arrayviewU8(pc)); in ExecuteCombine() 612 cmdList.PushConstantData(fxaaData_.pipelineLayout in ExecuteFXAA() [all...] |
H A D | render_node_util.h | 47 DescriptorCounts GetDescriptorCounts(const PipelineLayout& pipelineLayout) const override; 51 const PipelineLayout& pipelineLayout) const override;
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | gpu_program_vk.cpp | 49 auto& pipelineLayout = reflection_.pipelineLayout; in GpuShaderProgramVk() local 54 pipelineLayout = mod.GetPipelineLayout(); in GpuShaderProgramVk() 74 GpuProgramUtil::CombinePipelineLayouts({ &reflPl, 1u }, pipelineLayout); in GpuShaderProgramVk() 103 reflection_.pipelineLayout = mod.GetPipelineLayout(); in GpuComputeProgramVk()
|
H A D | pipeline_state_object_vk.h | 37 VkPipelineLayout pipelineLayout { VK_NULL_HANDLE }; 43 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout, 62 const PipelineLayout& pipelineLayout, const ShaderSpecializationConstantDataView& specializationConstants,
|
H A D | pipeline_state_object_vk.cpp | 92 void GetDescriptorSetFillData(const PipelineLayout& pipelineLayout, in GetDescriptorSetFillData() argument 97 ds.pushConstantRangeCount = (pipelineLayout.pushConstant.byteSize > 0) ? 1u : 0u; in GetDescriptorSetFillData() 103 const auto& descRef = pipelineLayout.descriptorSetLayouts[operationIdx]; in GetDescriptorSetFillData() 104 if ((ds.descriptorSetCount >= pipelineLayout.descriptorSetCount) && in GetDescriptorSetFillData() 162 const VkShaderStageFlags shaderStageFlags = (VkShaderStageFlags)pipelineLayout.pushConstant.shaderStageFlags; in GetDescriptorSetFillData() 164 const uint32_t bytesize = pipelineLayout.pushConstant.byteSize; in GetDescriptorSetFillData() 175 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout, in GraphicsPipelineStateObjectVk() 408 GetDescriptorSetFillData(pipelineLayout, pipelineLayoutData, vkDevice, in GraphicsPipelineStateObjectVk() 424 &plat_.pipelineLayout)); // pPipelineLayout in GraphicsPipelineStateObjectVk() 489 plat_.pipelineLayout, // layou in GraphicsPipelineStateObjectVk() 174 GraphicsPipelineStateObjectVk(Device& device, const GpuShaderProgram& gpuShaderProgram, const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout, const VertexInputDeclarationView& vertexInputDeclaration, const ShaderSpecializationConstantDataView& specializationConstants, const array_view<const DynamicStateEnum> dynamicStates, const RenderPassDesc& renderPassDesc, const array_view<const RenderPassSubpassDesc>& renderPassSubpassDescs, const uint32_t subpassIndex, const LowLevelRenderPassData& renderPassData, const LowLevelPipelineLayoutData& pipelineLayoutData) GraphicsPipelineStateObjectVk() argument 534 ComputePipelineStateObjectVk(Device& device, const GpuComputeProgram& gpuComputeProgram, const PipelineLayout& pipelineLayout, const ShaderSpecializationConstantDataView& specializationConstants, const LowLevelPipelineLayoutData& pipelineLayoutData) ComputePipelineStateObjectVk() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeDotfield/src/render/ |
H A D | render_node_dotfield_render.cpp | 93 const PipelineLayout pipelineLayout = shaderMgr.GetPipelineLayout(plHandle); in InitNode() local 95 CORE_ASSERT(pipelineLayout.pushConstant.byteSize == sizeof(DotfieldMaterialPushConstantStruct)); in InitNode() 97 const RenderHandle descriptorSetHandle = descriptorSetMgr.CreateDescriptorSet(set, pipelineLayout); in InitNode() 99 descriptorSetHandle, pipelineLayout.descriptorSetLayouts[set].bindings); in InitNode() 183 const PipelineLayout pipelineLayout = shaderMgr.GetPipelineLayout(plHandle); in GetPsoData() local 190 renderNodeContextMgr.GetPsoManager().GetGraphicsPsoHandle(shaderHandle, graphicsStateHandle, pipelineLayout, in GetPsoData()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | pipeline_state_object_gles.h | 39 PipelineLayout pipelineLayout; member 50 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout, 76 const PipelineLayout& pipelineLayout, const ShaderSpecializationConstantDataView& specializationConstants);
|
H A D | pipeline_state_object_gles.cpp | 152 const GpuShaderProgram& gpuShaderProgram, const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout, in GraphicsPipelineStateObjectGLES() 160 plat_.pipelineLayout = pipelineLayout; in GraphicsPipelineStateObjectGLES() 251 const GpuComputeProgram& gpuComputeProgram, const PipelineLayout& pipelineLayout, in ComputePipelineStateObjectGLES() 256 plat_.pipelineLayout = pipelineLayout; in ComputePipelineStateObjectGLES() 151 GraphicsPipelineStateObjectGLES(Device& device, const GpuShaderProgram& gpuShaderProgram, const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout, const VertexInputDeclarationView& vertexInputDeclaration, const ShaderSpecializationConstantDataView& specializationConstants, const array_view<const DynamicStateEnum> dynamicStates, const RenderPassDesc& renderPassDesc, const array_view<const RenderPassSubpassDesc>& renderPassSubpassDescs, const uint32_t subpassIndex) GraphicsPipelineStateObjectGLES() argument 250 ComputePipelineStateObjectGLES(Device& device, const GpuComputeProgram& gpuComputeProgram, const PipelineLayout& pipelineLayout, const ShaderSpecializationConstantDataView& specializationConstants) ComputePipelineStateObjectGLES() argument
|
H A D | shader_module_gles.cpp | 118 void SortSets(PipelineLayout& pipelineLayout) in SortSets() argument 120 pipelineLayout.descriptorSetCount = 0; in SortSets() 122 DescriptorSetLayout& currSet = pipelineLayout.descriptorSetLayouts[idx]; in SortSets() 124 pipelineLayout.descriptorSetCount++; in SortSets()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | gpu_program.h | 31 PipelineLayout pipelineLayout; member 46 PipelineLayout pipelineLayout; member
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_copy_helper.cpp | 61 renderData_.pipelineLayout = shaderMgr.GetReflectionPipelineLayout(renderData_.shader); in Init() 67 const auto& bindings = renderData_.pipelineLayout.descriptorSetLayouts[0U].bindings; in Init() 90 renderData_.pipelineLayout, {}, {}, { DYNAMIC_STATES, countof(DYNAMIC_STATES) }); in Execute()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | shader_loader.cpp | 331 const string_view pipelineLayout = shaderVariant.pipelineLayout; in CreateComputeShader() local 338 (pipelineLayout.empty()) in CreateComputeShader() 340 : RenderHandleUtil::GetIndexPart(shaderMgr_.GetPipelineLayoutHandle(pipelineLayout).GetHandle()); in CreateComputeShader() 399 const uint32_t plIndex = svRef.pipelineLayout.empty() in CreateGraphicsShader() 402 shaderMgr_.GetPipelineLayoutHandle(svRef.pipelineLayout).GetHandle()); in CreateGraphicsShader() 546 const PipelineLayout& pipelineLayout = loader.GetPipelineLayout(); in CreatePipelineLayout() local 547 return shaderMgr_.CreatePipelineLayout({ uri, pipelineLayout }); in CreatePipelineLayout()
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | main.cpp | 591 PipelineLayout pipelineLayout;
in GetPipelineLayout() local 597 pipelineLayout.pushConstant.shaderStageFlags = static_cast<ShaderStageFlagBits>(header.type);
in GetPipelineLayout() 598 pipelineLayout.pushConstant.byteSize = static_cast<uint32_t>(*(ptr + 1) | (*(ptr + 2) << 8));
in GetPipelineLayout() 603 pipelineLayout.descriptorSetCount = static_cast<uint32_t>(*(ptr) | (*(ptr + 1) << 8));
in GetPipelineLayout() 605 for (auto i = 0u; i < pipelineLayout.descriptorSetCount; ++i) {
in GetPipelineLayout() 609 auto& layout = pipelineLayout.descriptorSetLayouts[set];
in GetPipelineLayout() 627 return pipelineLayout;
in GetPipelineLayout() 1227 PipelineLayout pipelineLayout;
1228 reflectDescriptorSets(compiler, resources, shaderStateFlags, pipelineLayout.descriptorSetLayouts);
1229 pipelineLayout [all...] |