Home
last modified time | relevance | path

Searched refs:pipelineLayout (Results 1 – 25 of 62) sorted by relevance

123

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_motion_blur.cpp58 renderData_.pipelineLayout = shaderMgr.GetReflectionPipelineLayout(renderData_.shader); in Init()
61 renderData_.pipelineLayout, {}, {}, { DYNAMIC_STATES, countof(DYNAMIC_STATES) }); in Init()
113 … const auto& bindings = renderData_.pipelineLayout.descriptorSetLayouts[globalSet].bindings; in Init()
118 … const auto& bindings = renderData_.pipelineLayout.descriptorSetLayouts[localSet].bindings; in Init()
222 if (renderData.pipelineLayout.pushConstant.byteSize > 0) { in Execute()
226 cmdList.PushConstantData(renderData_.pipelineLayout.pushConstant, arrayviewU8(pc)); in Execute()
289 if (renderData.pipelineLayout.pushConstant.byteSize > 0) { in ExecuteTileVelocity()
290 cmdList.PushConstant(renderData.pipelineLayout.pushConstant, arrayviewU8(pc).data()); in ExecuteTileVelocity()
322 if (renderData.pipelineLayout.pushConstant.byteSize > 0) { in ExecuteTileVelocity()
323 … cmdList.PushConstant(renderData.pipelineLayout.pushConstant, arrayviewU8(pc).data()); in ExecuteTileVelocity()
[all …]
H A Drender_copy.cpp61 …extManager& renderNodeContextMgr, const RenderHandle& shader, const PipelineLayout& pipelineLayout) in CreatePso() argument
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 …_.copyType == CopyType::LAYER_COPY) ? renderData_.pipelineLayoutLayer : renderData_.pipelineLayout; in Execute()
H A Drender_node_fullscreen_generic.cpp64 …pipelineData_.pipelineLayout = shaderMgr.GetPipelineLayoutHandleByShaderHandle(pipelineData_.shade… in RENDER_BEGIN_NAMESPACE()
65 if (!RenderHandleUtil::IsValid(pipelineData_.pipelineLayout)) { in RENDER_BEGIN_NAMESPACE()
66 … pipelineData_.pipelineLayout = shaderMgr.GetReflectionPipelineLayoutHandle(pipelineData_.shader); in RENDER_BEGIN_NAMESPACE()
69 pipelineData_.pipelineLayoutData = shaderMgr.GetPipelineLayout(pipelineData_.pipelineLayout); in RENDER_BEGIN_NAMESPACE()
195 … pipelineData_.shader, pipelineData_.graphicsState, pipelineData_.pipelineLayout, {}, in GetPsoHandle()
214 …pipelineData_.graphicsState, pipelineData_.pipelineLayout, {}, {}, { dynamicStates, dynamicStateCo… in GetPsoHandle()
H A Drender_node_shader_passes_generic.h63 … const RenderPass& renderPass, const RenderHandle& shader, const PipelineLayout& pipelineLayout);
64 …RenderHandle GetPsoHandleCompute(const RenderHandle& shader, const PipelineLayout& pipelineLayout);
H A Drender_blur.cpp54 renderData_.pipelineLayout = shaderMgr.GetReflectionPipelineLayout(renderData_.shader); in Init()
72 … const auto& bindings = renderData_.pipelineLayout.descriptorSetLayouts[globalSet].bindings; in Init()
76 const auto& bindings = renderData_.pipelineLayout.descriptorSetLayouts[localSet].bindings; in Init()
131 … renderData_.pipelineLayout, {}, specDataView, { DYNAMIC_STATES, countof(DYNAMIC_STATES) }); in Execute()
138 … renderData_.pipelineLayout, {}, specDataView, { DYNAMIC_STATES, countof(DYNAMIC_STATES) }); in Execute()
249 …cmdList.PushConstant(renderData_.pipelineLayout.pushConstant, reinterpret_cast<const uint8_t*>(&pc… in RenderData()
361 …const ConstDrawInput di { cmdList, renderPass, renderData_.pipelineLayout.pushConstant, pc, sample… in RenderGaussian()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Dnode_context_pso_manager.h61 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 Dnode_context_pso_manager.cpp204 … 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() argument
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, const VertexInputDeclarationView& vertexInputDeclarationView, in GetGraphicsPsoHandle() argument
339 … return GetGraphicsPsoHandleImpl(shader, graphicsState, pipelineLayout, vertexInputDeclarationView, in GetGraphicsPsoHandle()
344 …const PipelineLayout& pipelineLayout, const VertexInputDeclarationView& vertexInputDeclarationView, in GetGraphicsPsoHandle() argument
[all …]
H A Drender_node_post_process_util.cpp557 if (effect.pipelineLayout.pushConstant.byteSize > 0) { in ExecuteCombine()
667 if (taaData_.pipelineLayout.pushConstant.byteSize > 0) { in ExecuteTAA()
956 combineData_.pipelineLayout = shaderMgr.GetPipelineLayout(combineData_.pl); in InitCreateShaderResources()
962 copyData_.pipelineLayout = shaderMgr.GetPipelineLayout(copyData_.pl); in InitCreateShaderResources()
969 fxaaData_.pipelineLayout = shaderMgr.GetPipelineLayout(fxaaData_.pl); in InitCreateShaderResources()
975 taaData_.pipelineLayout = shaderMgr.GetPipelineLayout(taaData_.pl); in InitCreateShaderResources()
982 dofData_.pipelineLayout = shaderMgr.GetPipelineLayout(dofData_.pl); in InitCreateShaderResources()
989 dofBlurData_.pipelineLayout = shaderMgr.GetPipelineLayout(dofBlurData_.pl); in InitCreateShaderResources()
1013 taaData_.pipelineLayout.descriptorSetLayouts[localSetIdx].bindings); in InitCreateBinders()
1019 dofData_.pipelineLayout.descriptorSetLayouts[localSetIdx].bindings); in InitCreateBinders()
[all …]
H A Dnode_context_descriptor_set_manager.cpp223 const uint32_t set, const PipelineLayout& pipelineLayout) in CreateDescriptorSet() argument
225 if (set < pipelineLayout.descriptorSetCount) { in CreateDescriptorSet()
226 const auto& ref = pipelineLayout.descriptorSetLayouts[set]; in CreateDescriptorSet()
255 const uint32_t set, const PipelineLayout& pipelineLayout) in CreateOneFrameDescriptorSet() argument
257 if (set < pipelineLayout.descriptorSetCount) { in CreateOneFrameDescriptorSet()
258 const auto& ref = pipelineLayout.descriptorSetLayouts[set]; in CreateOneFrameDescriptorSet()
276 const PipelineLayout& pipelineLayout) in CreatePipelineDescriptorSetBinder() argument
282 … descriptorSetLayoutBindings[idx] = { pipelineLayout.descriptorSetLayouts[idx].bindings }; in CreatePipelineDescriptorSetBinder()
294 pipelineLayout, handles, descriptorSetLayoutBindings) }; in CreatePipelineDescriptorSetBinder()
298 const PipelineLayout& pipelineLayout, const array_view<const RenderHandle> handles, in CreatePipelineDescriptorSetBinder() argument
[all …]
H A Dnode_context_descriptor_set_manager.h60 …RenderHandle CreateDescriptorSet(const uint32_t set, const PipelineLayout& pipelineLayout) overrid…
65 …torSetBinder::Ptr CreatePipelineDescriptorSetBinder(const PipelineLayout& pipelineLayout) override;
66 …ineDescriptorSetBinder::Ptr CreatePipelineDescriptorSetBinder(const PipelineLayout& pipelineLayout,
74 …dle CreateOneFrameDescriptorSet(const uint32_t set, const PipelineLayout& pipelineLayout) override;
H A Drender_node_util.h47 DescriptorCounts GetDescriptorCounts(const PipelineLayout& pipelineLayout) const override;
51 const PipelineLayout& pipelineLayout) const override;
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/
H A Dintf_node_context_pso_manager.h53 …tual RenderHandle GetComputePsoHandle(const RenderHandle shader, const RenderHandle pipelineLayout,
62 …l RenderHandle GetComputePsoHandle(const RenderHandle shader, const PipelineLayout& pipelineLayout,
78 const RenderHandle pipelineLayout, const RenderHandle vertexInputDeclaration,
94 …const PipelineLayout& pipelineLayout, const VertexInputDeclarationView& vertexInputDeclarationView,
110 …const PipelineLayout& pipelineLayout, const VertexInputDeclarationView& vertexInputDeclarationView,
H A Dintf_node_context_descriptor_set_manager.h71 …ual RenderHandle CreateDescriptorSet(const uint32_t set, const PipelineLayout& pipelineLayout) = 0;
83 const PipelineLayout& pipelineLayout) = 0;
91 …ineDescriptorSetBinder::Ptr CreatePipelineDescriptorSetBinder(const PipelineLayout& pipelineLayout,
104 …erHandle CreateOneFrameDescriptorSet(const uint32_t set, const PipelineLayout& pipelineLayout) = 0;
H A Dintf_render_node_util.h69 virtual DescriptorCounts GetDescriptorCounts(const PipelineLayout& pipelineLayout) const = 0;
84 const PipelineLayout& pipelineLayout) const = 0;
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dpipeline_state_object_vk.cpp92 void GetDescriptorSetFillData(const PipelineLayout& pipelineLayout, in GetDescriptorSetFillData() argument
104 if ((ds.descriptorSetCount >= pipelineLayout.descriptorSetCount) && in GetDescriptorSetFillData()
164 const uint32_t bytesize = pipelineLayout.pushConstant.byteSize; in GetDescriptorSetFillData()
408 GetDescriptorSetFillData(pipelineLayout, pipelineLayoutData, vkDevice, in GraphicsPipelineStateObjectVk()
424 &plat_.pipelineLayout)); // pPipelineLayout in GraphicsPipelineStateObjectVk()
489 plat_.pipelineLayout, // layout in GraphicsPipelineStateObjectVk()
522 if (plat_.pipelineLayout) { in ~GraphicsPipelineStateObjectVk()
524 plat_.pipelineLayout, // pipelineLayout in ~GraphicsPipelineStateObjectVk()
598 &plat_.pipelineLayout)); // pPipelineLayout in ComputePipelineStateObjectVk()
606 plat_.pipelineLayout, // layout in ComputePipelineStateObjectVk()
[all …]
H A Dgpu_program_vk.cpp49 auto& pipelineLayout = reflection_.pipelineLayout; in RENDER_BEGIN_NAMESPACE() local
54 pipelineLayout = mod.GetPipelineLayout(); in RENDER_BEGIN_NAMESPACE()
74 GpuProgramUtil::CombinePipelineLayouts({ &reflPl, 1u }, pipelineLayout); in RENDER_BEGIN_NAMESPACE()
103 reflection_.pipelineLayout = mod.GetPipelineLayout(); in GpuComputeProgramVk()
H A Dpipeline_state_object_vk.h37 VkPipelineLayout pipelineLayout { VK_NULL_HANDLE };
43 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout,
62 …const PipelineLayout& pipelineLayout, const ShaderSpecializationConstantDataView& specializationCo…
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dpipeline_state_object_gles.cpp152 …rogram& gpuShaderProgram, const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout, in GraphicsPipelineStateObjectGLES() argument
160 plat_.pipelineLayout = pipelineLayout; in GraphicsPipelineStateObjectGLES()
251 const GpuComputeProgram& gpuComputeProgram, const PipelineLayout& pipelineLayout, in ComputePipelineStateObjectGLES() argument
256 plat_.pipelineLayout = pipelineLayout; in ComputePipelineStateObjectGLES()
H A Dpipeline_state_object_gles.h39 PipelineLayout pipelineLayout; member
50 const GraphicsState& graphicsState, const PipelineLayout& pipelineLayout,
76 …const PipelineLayout& pipelineLayout, const ShaderSpecializationConstantDataView& specializationCo…
H A Dgpu_program_gles.cpp393 void BuildBindInfos(vector<Binder>& bindinfos, const PipelineLayout& pipelineLayout, BindMaps& map, in BuildBindInfos() argument
399 const auto& s = pipelineLayout.descriptorSetLayouts[set]; in BuildBindInfos()
547 auto& pipelineLayout = reflection_.pipelineLayout; in GpuShaderProgramGLES() local
549 pipelineLayout = plat_.vertShaderModule_->GetPipelineLayout(); in GpuShaderProgramGLES()
559 GpuProgramUtil::CombinePipelineLayouts({ &reflPl, 1u }, pipelineLayout); in GpuShaderProgramGLES()
668 const auto& pipelineLayout = reflection_.pipelineLayout; in Specialize() local
683 BuildBindInfos(ret->resourceList, pipelineLayout, map, combSets); in Specialize()
706 reflection_.pipelineLayout = plat_.module_->GetPipelineLayout(); in GpuComputeProgramGLES()
771 const auto& pipelineLayout = reflection_.pipelineLayout; in Specialize() local
772 BuildBindInfos(ret->resourceList, pipelineLayout, map, plat.combSets); in Specialize()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dgpu_program.h31 PipelineLayout pipelineLayout; member
46 PipelineLayout pipelineLayout; member
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dshader_loader.cpp331 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()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_copy_helper.cpp61 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()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Dmain.cpp591 PipelineLayout pipelineLayout; in GetPipelineLayout() local
609 auto& layout = pipelineLayout.descriptorSetLayouts[set]; in GetPipelineLayout()
627 return pipelineLayout; in GetPipelineLayout()
1227 PipelineLayout pipelineLayout; in reflectSpvBinary() local
1229 pipelineLayout.descriptorSetCount = in reflectSpvBinary()
1277 if (pipelineLayout.pushConstant.byteSize) { in reflectSpvBinary()
1314 auto begin = std::begin(pipelineLayout.descriptorSetLayouts); in reflectSpvBinary()
1316 std::advance(end, pipelineLayout.descriptorSetCount); in reflectSpvBinary()
1383 void SortSets(PipelineLayout& pipelineLayout) in SortSets() argument
1385 pipelineLayout.descriptorSetCount = 0; in SortSets()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/assets/3d/shaders/shader/
H A Dcore3d_dm_fw.shader17 "pipelineLayout": "3dpipelinelayouts://core3d_dm_fw.shaderpl",
74 "pipelineLayout": "3dpipelinelayouts://core3d_dm_fw.shaderpl",
138 "pipelineLayout": "3dpipelinelayouts://core3d_dm_fw.shaderpl",
204 "pipelineLayout": "3dpipelinelayouts://core3d_dm_fw.shaderpl",
261 "pipelineLayout": "3dpipelinelayouts://core3d_dm_fw.shaderpl",

123