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

@@ -186,6 +186,7 @@ GPU_CB_STRUCT(Data {
void ExponentialHeightFog::DrawFog(GPUContext* context, RenderContext& renderContext, GPUTextureView* output)
{
PROFILE_GPU_CPU("Exponential Height Fog");
auto integratedLightScattering = renderContext.Buffers->VolumetricFog;
bool useVolumetricFog = integratedLightScattering != nullptr;