/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_blur.cpp | 161 // 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 D | render_node_bloom.cpp | 57 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 D | pipeline_layout_desc.h | 91 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 D | render_data_structures.h | 174 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 D | render_node_util.cpp | 104 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 D | pipeline_descriptor_set_binder.cpp | 366 bindableImage.mip = resource.mip; in BindImage() 434 bindableImage.mip = currResource.mip; in BindImages()
|
H A D | render_node_parser_util.cpp | 229 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 D | render_graph.cpp | 381 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 D | render_backend_gles.cpp | 408 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 D | render_backend_vk.cpp | 1618 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 D | shader_pipeline_binder.cpp | 451 resource.mip, in BindImage() 486 bindables[idx] = BindableImage { rRef.handle.GetHandle(), rRef.mip, rRef.layer, in BindImages()
|
H A D | gpu_resource_manager.cpp | 168 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
|