Home
last modified time | relevance | path

Searched refs:mip (Results 1 - 12 of 12) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_blur.cpp161 // expected high max mip count in GetDescriptorCounts()
178 // transition the final mip level to read only as well
257 // transition the final used mip level in RenderData()
356 // with every mip, first we do a downscale in RenderGaussian()
363 const uint32_t mip = idx; in RenderGaussian() local
365 const Math::UVec2 size = { Math::max(1u, imageData_.size.x >> mip), Math::max(1u, imageData_.size.y >> mip) }; in RenderGaussian()
371 renderPass.renderPassDesc.attachments[0].mipLevel = mip; in RenderGaussian()
378 DownscaleBarrier(cmdList, imageData_.mipImage, mip); in RenderGaussian()
380 BlurPass(di, *binders_[descIdx++], *globalSet0_, renderData_.psoScale, imageData_.mipImage, mip in RenderGaussian()
[all...]
H A Drender_node_bloom.cpp57 return BindableImage { res.handle, res.mip, res.layer, ImageLayout::CORE_IMAGE_LAYOUT_UNDEFINED, res.secondHandle }; in GetBindableImage()
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/
H A Dpipeline_layout_desc.h91 uint32_t mip { PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS };
121 uint32_t mip { PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS };
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/
H A Drender_data_structures.h174 uint32_t mip { PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS };
198 uint32_t mip { 0u };
292 uint32_t mip { PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS };
322 uint32_t mip { 0u };
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_util.cpp104 output.push_back(RenderNodeResource { ref.set, ref.binding, handle, {}, ref.mip, ref.layer }); in SetupRenderNodeResourceHandles()
123 output.push_back(RenderNodeResource { ref.set, ref.binding, handle, secondHandle, ref.mip, ref.layer }); in SetupRenderNodeResourceHandles()
161 ref.stencilStoreOp, ref.clearValue, ref.mip, ref.layer }); in CreateInputRenderPass()
227 bindable.mip = ref.mip; in BindResourcesToBinder()
279 rpDesc.attachments[idx] = { ref.layer, ref.mip, ref.loadOp, ref.storeOp, ref.stencilLoadOp, in CreateRenderPass()
H A Dpipeline_descriptor_set_binder.cpp366 bindableImage.mip = resource.mip; in BindImage()
434 bindableImage.mip = currResource.mip; in BindImages()
H A Drender_node_parser_util.cpp229 SafeGetJsonValue(jsonData, "mip", context.error, context.data.mip); in FromJson()
276 SafeGetJsonValue(jsonData, "mip", context.error, context.data.mip); in FromJson()
/foundation/graphic/graphic_3d/lume/LumeRender/src/
H A Drender_graph.cpp381 if ((src.mip != PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS) || in GetSrcImageBarrierMips()
382 (dst.mip != PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS)) { in GetSrcImageBarrierMips()
383 if (dst.mip < RenderGraph::MAX_MIP_STATE_COUNT) { in GetSrcImageBarrierMips()
384 mipLevel = dst.mip; in GetSrcImageBarrierMips()
387 mipLevel = src.mip; in GetSrcImageBarrierMips()
388 // all mip levels in GetSrcImageBarrierMips()
431 if ((src.mip != PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS) || in GetDstImageBarrierMips()
432 (dst.mip != PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS)) { in GetDstImageBarrierMips()
433 if (dst.mip < RenderGraph::MAX_MIP_STATE_COUNT) { in GetDstImageBarrierMips()
434 mipLevel = dst.mip; in GetDstImageBarrierMips()
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Drender_backend_gles.cpp408 const uint32_t mip = imageSubresource.mipLevel; in BlitArray() local
409 const Math::UVec3 imageSize { imageDesc.width >> mip, imageDesc.height >> mip, imageDesc.depth }; in BlitArray()
439 const uint32_t mip = imageSubresource.mipLevel; in Blit2D() local
440 const Math::UVec2 imageSize { imageDesc.width >> mip, imageDesc.height >> mip }; in Blit2D()
463 const uint32_t mip = imageSubresource.mipLevel; in Blit3D() local
464 const Math::UVec3 imageSize { imageDesc.width >> mip, imageDesc.height >> mip, imageDesc.depth >> mip }; in Blit3D()
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Drender_backend_vk.cpp1618 const uint32_t mip = subresourceLayer.mipLevel;
1619 const VkExtent3D imageSize { imageDesc.width >> mip, imageDesc.height >> mip, imageDesc.depth };
2046 } else if (bRes.mip != PipelineStateConstants::GPU_IMAGE_ALL_MIP_LEVELS) {
2048 (bRes.mip < platImageViews.mipImageAllLayerViews.size())) {
2049 imageView = platImageViews.mipImageAllLayerViews[bRes.mip];
2050 } else if (bRes.mip < platImageViews.mipImageViews.size()) {
2051 imageView = platImageViews.mipImageViews[bRes.mip];
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_pipeline_binder.cpp451 resource.mip, in BindImage()
486 bindables[idx] = BindableImage { rRef.handle.GetHandle(), rRef.mip, rRef.layer, in BindImages()
H A Dgpu_resource_manager.cpp168 PLUGIN_LOG_E("RENDER_VALIDATION: Image mip and layer count must be >=1 (mipCount:%u, layerCount:%u)", in ValidateGpuImageDesc()
179 "RENDER_VALIDATION: Must use usage flags CORE_IMAGE_USAGE_TRANSFER_SRC_BIT when generating mip maps"); in ValidateGpuImageDesc()
217 const uint32_t mip = copy.imageSubresource.mipLevel; in ValidateGpuImageCopy() local
218 const Size3D imageSize { desc.width >> mip, desc.height >> mip, desc.depth }; in ValidateGpuImageCopy()
1110 1u, // hard-coded mip count

Completed in 18 milliseconds