Home
last modified time | relevance | path

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

12

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dpipeline_layout_loader.cpp82 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()
/ohos5.0/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()
H A Dshader_manager.cpp1501 … pipelineLayout.pushConstant.byteSize > PipelineLayoutConstants::MAX_PUSH_CONSTANT_BYTE_SIZE) { in CreatePipelineLayout()
1505 … pipelineLayout.pushConstant.byteSize, PipelineLayoutConstants::MAX_PUSH_CONSTANT_BYTE_SIZE); in CreatePipelineLayout()
1508 ref.pushConstant = pipelineLayout.pushConstant; in CreatePipelineLayout()
1511 ref.pushConstant.byteSize = in CreatePipelineLayout()
1512 …h::min(PipelineLayoutConstants::MAX_PUSH_CONSTANT_BYTE_SIZE, pipelineLayout.pushConstant.byteSize); in CreatePipelineLayout()
2165 pipelineLayout.pushConstant.shaderStageFlags = header.type; in GetPipelineLayout()
2166 … pipelineLayout.pushConstant.byteSize = static_cast<uint32_t>(*(ptr + 1) | (*(ptr + 2) << 8)); in GetPipelineLayout()
/ohos5.0/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, sample… in RenderGaussian()
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_compute_generic.cpp96 useDataStorePushConstant_ = (pipelineLayout_.pushConstant.byteSize > 0) && in InitNode()
162 cmdList.PushConstant(pipelineLayout_.pushConstant, dataView.data()); in ExecuteFrame()
H A Drender_node_fullscreen_generic.cpp80 useDataStorePushConstant_ = (pipelineData_.pipelineLayoutData.pushConstant.byteSize > 0) && in RENDER_BEGIN_NAMESPACE()
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()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/assets/render/pipelinelayouts/
H A Dpost_process_common.shaderpl6 "pushConstant": { "size" : 32, "shaderStageFlags" : "vertex_bit|fragment_bit" },
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/
H A Dintf_render_command_list.h109 const struct PushConstant& pushConstant, const BASE_NS::array_view<const uint8_t> data) = 0;
115 virtual void PushConstant(const struct PushConstant& pushConstant, const uint8_t* data) = 0;
/ohos5.0/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_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()
H A Drender_node_default_shadows_blur.h94 RENDER_NS::PushConstant pushConstant; in CORE3D_BEGIN_NAMESPACE() member
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/templates/pipelinelayouts/
H A Dpipeline_layout.shaderpl6 "pushConstant": { "size" : 0, "shaderStageFlags" : "vertex_bit|fragment_bit" },
/ohos5.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() argument
739 if ((pushConstant.byteSize > 0) && in PushConstantData()
740 …(pushConstant.byteSize <= PipelineLayoutConstants::MAX_PUSH_CONSTANT_BYTE_SIZE) && (!data.empty())… in PushConstantData()
745 …st<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, const uint8_t* da… in PushConstant() argument
768 if ((pushConstant.byteSize > 0) && data) { in PushConstant()
[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)…
512 …void PushConstant(const struct RENDER_NS::PushConstant& pushConstant, const uint8_t* data) overrid…
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()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/assets/3d/pipelinelayouts/
H A Dcore3d_post_process.shaderpl6 "pushConstant": { "size" : 32, "shaderStageFlags" : "vertex_bit|fragment_bit" },
H A Dcore3d_dm_fullscreen_deferred_shading.shaderpl6 "pushConstant": { "size" : 32, "shaderStageFlags" : "vertex_bit|fragment_bit" },
/ohos5.0/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) in reflectPushContants() argument
1054 pushConstant.shaderStageFlags |= shaderStateFlags; in reflectPushContants()
1061 pushConstant.byteSize = std::max(pushConstant.byteSize, byteSize); in reflectPushContants()
1234 reflectPushContants(compiler, resources, shaderStateFlags, pipelineLayout.pushConstant); in reflectSpvBinary()
1277 if (pipelineLayout.pushConstant.byteSize) { in reflectSpvBinary()
1279 push(reflection, static_cast<uint16_t>(pipelineLayout.pushConstant.byteSize)); in reflectSpvBinary()
/ohos5.0/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.shader… in GetDescriptorSetFillData()
164 const uint32_t bytesize = pipelineLayout.pushConstant.byteSize; in GetDescriptorSetFillData()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dpipeline_layout_desc.h219 PushConstant pushConstant; member

12