core: Update Hillshade Algorithms and add Color-Relief Layer support (#3965)

This commit is contained in:
Andrew Calcutt
2026-02-25 20:50:06 -05:00
committed by GitHub
parent 9682e09ae4
commit 369af13ead
187 changed files with 8804 additions and 2352 deletions

View File

@@ -110,6 +110,11 @@ RenderPass::RenderPass(CommandEncoder& commandEncoder_, const char* name, const
colorAttachment.clearValue = value;
} else {
colorAttachment.loadOp = WGPULoadOp_Load;
#if MLN_WEBGPU_IMPL_WGPU
// wgpu-native requires clearValue to be set even when using LoadOp_Load
const WGPUColor defaultClearValue{0.0, 0.0, 0.0, 0.0};
colorAttachment.clearValue = defaultClearValue;
#endif
}
WGPURenderPassDepthStencilAttachment depthAttachment = {};