fix: 阴影采样器 CompareOp 反转(诊断残留 eGreater)+ 移除截图调试设施
根因:shadow sampler 停留在诊断期的 eGreater——比较语义全反, 全场 shade 被压到 0.3 变暗,唯独真影区 lit=1 反而全亮, 即"影子比环境亮、像光源"的现象。修回 eLess 后影子正常。 顺带清理:第 60 帧截图管线(HDRColor/ShadowMap0 → BMP)、 CPU 投影诊断日志、GetCaptureTarget 及 TRANSFER_SRC extraUsage。
This commit is contained in:
@@ -694,24 +694,6 @@ namespace Engine::RG {
|
||||
return entry.physical[frameSlot]->view;
|
||||
}
|
||||
|
||||
bool RenderGraph::GetCaptureTarget(TextureHandle h, u32 frameSlot,
|
||||
vk::Image& outImage, vk::Extent2D& outExtent,
|
||||
vk::Format& outFormat,
|
||||
vk::ImageLayout& outResting) const
|
||||
{
|
||||
const auto& entry = GetEntry(h);
|
||||
if (entry.imported || frameSlot >= entry.physical.size() ||
|
||||
!entry.physical[frameSlot]) {
|
||||
return false;
|
||||
}
|
||||
const auto& phys = *entry.physical[frameSlot];
|
||||
outImage = phys.image;
|
||||
outExtent = phys.extent;
|
||||
outFormat = phys.format;
|
||||
outResting = entry.restingLayout;
|
||||
return true;
|
||||
}
|
||||
|
||||
void RenderGraph::SetQueryPool(vk::QueryPool pool, u32 queriesPerFrame)
|
||||
{
|
||||
m_QueryPool = pool;
|
||||
|
||||
Reference in New Issue
Block a user