Home
last modified time | relevance | path

Searched refs:pushConstant (Results 1 - 25 of 31) sorted by relevance

12

/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dpipeline_layout_loader.cpp81 if (const auto pcIter = jsonData.find("pushConstant"); pcIter) { 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()
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dgpu_program_util.cpp89 outPl.pushConstant.shaderStageFlags |= plRef.pushConstant.shaderStageFlags; in CombinePipelineLayouts()
90 outPl.pushConstant.byteSize = Math::max(outPl.pushConstant.byteSize, plRef.pushConstant.byteSize); in CombinePipelineLayouts()
H A Dshader_pipeline_binder.cpp244 if (pipelineLayout_.pushConstant.byteSize > 0) { in ShaderPipelineBinder()
245 pushData_.resize(pipelineLayout_.pushConstant.byteSize); in ShaderPipelineBinder()
360 if ((pipelineLayout_.pushConstant.byteSize > 0) && (!data.empty())) { in SetPushConstantData()
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_motion_blur.cpp222 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()
351 if (renderData.pipelineLayout.pushConstant.byteSize > 0) { in ExecuteTileVelocity()
352 cmdList.PushConstant(renderData.pipelineLayout.pushConstant, arrayviewU8(pc).data()); in ExecuteTileVelocity()
H A Drender_copy.cpp145 if (pl.pushConstant.byteSize > 0) { in Execute()
150 cmdList.PushConstantData(pl.pushConstant, arrayviewU8(pc)); in Execute()
H A Drender_blur.cpp249 cmdList.PushConstant(renderData_.pipelineLayout.pushConstant, reinterpret_cast<const uint8_t*>(&pc)); in RenderData()
319 const PushConstant& pushConstant; member
342 di.cmdList.PushConstant(di.pushConstant, reinterpret_cast<const uint8_t*>(&di.pc)); in BlurPass()
361 const ConstDrawInput di { cmdList, renderPass, renderData_.pipelineLayout.pushConstant, pc, samplerHandle_ }; in RenderGaussian()
H A Drender_node_compute_generic.cpp96 useDataStorePushConstant_ = (pipelineLayout_.pushConstant.byteSize > 0) && in InitNode()
162 cmdList.PushConstant(pipelineLayout_.pushConstant, dataView.data()); in ExecuteFrame()
H A Drender_node_back_buffer.cpp131 if (pipelineLayout_.pushConstant.byteSize > 0) { in ExecuteFrame()
134 cmdList.PushConstant(pipelineLayout_.pushConstant, reinterpret_cast<const uint8_t*>(&pushData)); in ExecuteFrame()
H A Drender_node_fullscreen_generic.cpp80 useDataStorePushConstant_ = (pipelineData_.pipelineLayoutData.pushConstant.byteSize > 0) && in InitNode()
149 cmdList.PushConstant(pipelineData_.pipelineLayoutData.pushConstant, dataView.data()); in ExecuteFrame()
H A Drender_node_single_post_process.cpp348 if (pipelineLayout_.pushConstant.byteSize > 0) { in ExecuteSinglePostProcess()
353 cmdList.PushConstantData(pipelineLayout_.pushConstant, arrayviewU8(pc)); in ExecuteSinglePostProcess()
365 if (pipelineLayout_.pushConstant.byteSize > 0) { in ExecuteSinglePostProcess()
370 cmdList.PushConstantData(pipelineLayout_.pushConstant, arrayviewU8(pc)); in ExecuteSinglePostProcess()
H A Drender_node_mip_chain_post_process.cpp409 if (pipelineData_.pipelineLayoutData.pushConstant.byteSize > 0) { in RenderGraphics()
412 cmdList.PushConstantData(pipelineData_.pipelineLayoutData.pushConstant, arrayviewU8(pc)); in RenderGraphics()
/foundation/graphic/graphic_3d/lume/LumeDotfield/src/render/
H A Drender_node_dotfield_render.cpp95 CORE_ASSERT(pipelineLayout.pushConstant.byteSize == sizeof(DotfieldMaterialPushConstantStruct)); in InitNode()
164 cmdList.PushConstant(psoData.pushConstant, reinterpret_cast<const uint8_t*>(&pc)); in RenderData()
192 const PsoData psoData = { psoHandle, reflPipelineLayout.pushConstant }; in GetPsoData()
H A Drender_node_dotfield_simulation.cpp80 CORE_ASSERT(pl.pushConstant.byteSize == sizeof(DotfieldSimulationPushConstantStruct)); in CreateBinders()
176 cmdList.PushConstant(psoData.pushConstant, reinterpret_cast<const uint8_t*>(&pc)); in ComputeSimulate()
211 PsoData psoData = { psoHandle, pl.pushConstant }; in GetPsoData()
H A Drender_node_dotfield_simulation.h74 RENDER_NS::PushConstant pushConstant; member
H A Drender_node_dotfield_render.h64 RENDER_NS::PushConstant pushConstant; member
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/
H A Dintf_render_command_list.h105 * @param pushConstant Push constant
109 const struct PushConstant& pushConstant, const BASE_NS::array_view<const uint8_t> data) = 0;
112 * @param pushConstant Push constant
115 virtual void PushConstant(const struct PushConstant& pushConstant, const uint8_t* data) = 0;
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_command_list.cpp734 const RENDER_NS::PushConstant& pushConstant, const BASE_NS::array_view<const uint8_t> data) in PushConstantData()
739 if ((pushConstant.byteSize > 0) && in PushConstantData()
740 (pushConstant.byteSize <= PipelineLayoutConstants::MAX_PUSH_CONSTANT_BYTE_SIZE) && (!data.empty())) { in PushConstantData()
745 static_cast<uint8_t*>(AllocateRenderData(allocator_, std::alignment_of<uint32_t>(), pushConstant.byteSize)); in PushConstantData()
748 rc->pushConstant = pushConstant; in PushConstantData()
751 const size_t minData = Math::min(static_cast<size_t>(pushConstant.byteSize), data.size_bytes()); in PushConstantData()
752 const bool res = CloneData(rc->data, pushConstant.byteSize, data.data(), minData); in PushConstantData()
758 } else if (pushConstant.byteSize > 0) { in PushConstantData()
766 void RenderCommandList::PushConstant(const RENDER_NS::PushConstant& pushConstant, cons argument
733 PushConstantData( const RENDER_NS::PushConstant& pushConstant, const BASE_NS::array_view<const uint8_t> data) PushConstantData() argument
[all...]
H A Drender_command_list.h280 PushConstant pushConstant; member
511 const struct RENDER_NS::PushConstant& pushConstant, const BASE_NS::array_view<const uint8_t> data) override;
512 void PushConstant(const struct RENDER_NS::PushConstant& pushConstant, const uint8_t* data) override;
H A Drender_node_post_process_util.cpp557 if (effect.pipelineLayout.pushConstant.byteSize > 0) { in ExecuteCombine()
561 cmdList.PushConstantData(effect.pipelineLayout.pushConstant, arrayviewU8(pc)); in ExecuteCombine()
612 cmdList.PushConstantData(fxaaData_.pipelineLayout.pushConstant, arrayviewU8(pc)); in ExecuteFXAA()
667 if (taaData_.pipelineLayout.pushConstant.byteSize > 0) { in ExecuteTAA()
672 cmdList.PushConstantData(taaData_.pipelineLayout.pushConstant, arrayviewU8(pc)); in ExecuteTAA()
750 cmdList.PushConstantData(dofBlurData_.pipelineLayout.pushConstant, arrayviewU8(pc)); in ExecuteDofBlur()
813 cmdList.PushConstantData(dofData_.pipelineLayout.pushConstant, arrayviewU8(pc)); in ExecuteDof()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_node_default_shadows_blur.cpp67 shaderData_.pushConstant = reflPipelineLayout.pushConstant; in InitNode()
255 cmdList.PushConstant(shaderData_.pushConstant, reinterpret_cast<const uint8_t*>(&pc)); in RenderBlur()
H A Drender_node_default_shadows_blur.h94 RENDER_NS::PushConstant pushConstant; member
H A Drender_node_camera_single_post_process.cpp357 if (pipelineLayout_.pushConstant.byteSize > 0) { in ExecuteSinglePostProcess()
362 cmdList.PushConstant(pipelineLayout_.pushConstant, arrayviewU8(pc).data()); in ExecuteSinglePostProcess()
374 if (pipelineLayout_.pushConstant.byteSize > 0) { in ExecuteSinglePostProcess()
379 cmdList.PushConstant(pipelineLayout_.pushConstant, arrayviewU8(pc).data()); in ExecuteSinglePostProcess()
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dpipeline_layout_desc.h219 PushConstant pushConstant; member
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Dmain.cpp473 PushConstant pushConstant; member
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()
1050 ShaderStageFlags shaderStateFlags, PushConstant& pushConstant)
1054 pushConstant.shaderStageFlags |= shaderStateFlags;
1061 pushConstant.byteSize = std::max(pushConstant.byteSize, byteSize);
1234 reflectPushContants(compiler, resources, shaderStateFlags, pipelineLayout.pushConstant);
1277 if (pipelineLayout.pushConstant.byteSize) {
1279 push(reflection, static_cast<uint16_t>(pipelineLayout.pushConstant
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dpipeline_state_object_vk.cpp97 ds.pushConstantRangeCount = (pipelineLayout.pushConstant.byteSize > 0) ? 1u : 0u; in GetDescriptorSetFillData()
162 const VkShaderStageFlags shaderStageFlags = (VkShaderStageFlags)pipelineLayout.pushConstant.shaderStageFlags; in GetDescriptorSetFillData()
164 const uint32_t bytesize = pipelineLayout.pushConstant.byteSize; in GetDescriptorSetFillData()

Completed in 22 milliseconds

12