Various small fixes and improvements

This commit is contained in:
Wojtek Figat
2025-09-04 15:56:33 +02:00
parent 3e363c8275
commit cd22cd059d
7 changed files with 43 additions and 51 deletions

View File

@@ -924,12 +924,6 @@ bool GlobalSignDistanceFieldPass::Render(RenderContext& renderContext, GPUContex
}
}
#if PLATFORM_WINDOWS
// Hack to fix D3D11 bug that doesn't insert UAV barrier after overlap region ends (between two GPUComputePass)
if (context->GetDevice()->GetRendererType() == RendererType::DirectX11)
context->Dispatch(_csRasterizeModel0, chunkDispatchGroups, chunkDispatchGroups, chunkDispatchGroups);
#endif
// Rasterize non-empty chunks (additive layers so need combine with existing chunk data)
for (uint32 layer = 0; layer <= maxLayer; layer++)
{