Refactor Mesh SDF generation on GPU to use raytracing for more precise results

This commit is contained in:
Wojtek Figat
2025-11-13 22:05:23 +01:00
parent c7997e0c2f
commit 91ee9f5e05
12 changed files with 615 additions and 547 deletions

View File

@@ -92,9 +92,8 @@ float GPUTimerQueryDX11::GetResult()
{
if (!_finalized)
{
#if BUILD_DEBUG
ASSERT(HasResult());
#endif
if (!HasResult())
return 0;
UINT64 timeStart, timeEnd;
auto context = _device->GetIM();