/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | pipeline_layout_loader.cpp | 81 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 D | gpu_program_util.cpp | 89 outPl.pushConstant.shaderStageFlags |= plRef.pushConstant.shaderStageFlags; in CombinePipelineLayouts() 90 outPl.pushConstant.byteSize = Math::max(outPl.pushConstant.byteSize, plRef.pushConstant.byteSize); in CombinePipelineLayouts()
|
H A D | shader_pipeline_binder.cpp | 244 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 D | render_motion_blur.cpp | 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() 351 if (renderData.pipelineLayout.pushConstant.byteSize > 0) { in ExecuteTileVelocity() 352 cmdList.PushConstant(renderData.pipelineLayout.pushConstant, arrayviewU8(pc).data()); in ExecuteTileVelocity()
|
H A D | render_copy.cpp | 145 if (pl.pushConstant.byteSize > 0) { in Execute() 150 cmdList.PushConstantData(pl.pushConstant, arrayviewU8(pc)); in Execute()
|
H A D | render_blur.cpp | 249 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 D | render_node_compute_generic.cpp | 96 useDataStorePushConstant_ = (pipelineLayout_.pushConstant.byteSize > 0) && in InitNode() 162 cmdList.PushConstant(pipelineLayout_.pushConstant, dataView.data()); in ExecuteFrame()
|
H A D | render_node_back_buffer.cpp | 131 if (pipelineLayout_.pushConstant.byteSize > 0) { in ExecuteFrame() 134 cmdList.PushConstant(pipelineLayout_.pushConstant, reinterpret_cast<const uint8_t*>(&pushData)); in ExecuteFrame()
|
H A D | render_node_fullscreen_generic.cpp | 80 useDataStorePushConstant_ = (pipelineData_.pipelineLayoutData.pushConstant.byteSize > 0) && in InitNode() 149 cmdList.PushConstant(pipelineData_.pipelineLayoutData.pushConstant, dataView.data()); in ExecuteFrame()
|
H A D | render_node_single_post_process.cpp | 348 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 D | render_node_mip_chain_post_process.cpp | 409 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 D | render_node_dotfield_render.cpp | 95 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 D | render_node_dotfield_simulation.cpp | 80 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 D | render_node_dotfield_simulation.h | 74 RENDER_NS::PushConstant pushConstant; member
|
H A D | render_node_dotfield_render.h | 64 RENDER_NS::PushConstant pushConstant; member
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/ |
H A D | intf_render_command_list.h | 105 * @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 D | render_command_list.cpp | 734 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 D | render_command_list.h | 280 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 D | render_node_post_process_util.cpp | 557 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 D | render_node_default_shadows_blur.cpp | 67 shaderData_.pushConstant = reflPipelineLayout.pushConstant; in InitNode() 255 cmdList.PushConstant(shaderData_.pushConstant, reinterpret_cast<const uint8_t*>(&pc)); in RenderBlur()
|
H A D | render_node_default_shadows_blur.h | 94 RENDER_NS::PushConstant pushConstant; member
|
H A D | render_node_camera_single_post_process.cpp | 357 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 D | pipeline_layout_desc.h | 219 PushConstant pushConstant; member
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | main.cpp | 473 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 D | pipeline_state_object_vk.cpp | 97 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()
|