Add more events for GPU profiling

This commit is contained in:
Wojtek Figat
2025-08-02 17:12:53 +02:00
parent 744c94b3cc
commit 5de5d8f683
5 changed files with 6 additions and 2 deletions

View File

@@ -176,6 +176,7 @@ void Sky::DrawFog(GPUContext* context, RenderContext& renderContext, GPUTextureV
AtmosphereCache cache;
if (!AtmospherePreCompute::GetCache(&cache))
return;
PROFILE_GPU_CPU("Sky Fog");
context->BindSR(4, cache.Transmittance);
context->BindSR(5, cache.Irradiance);
context->BindSR(6, cache.Inscatter->ViewVolume());