From cb2fe67bd107e88e7a404ce9dda948412ee502e0 Mon Sep 17 00:00:00 2001 From: Anis Benyoub Date: Mon, 15 Nov 2021 11:58:15 +0100 Subject: [PATCH 1/2] - Fixed the ray tracing acceleration structure build marker not bing included in the ray tracing stats (case 1379383). --- .../Runtime/Debug/DebugDisplay.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugDisplay.cs b/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugDisplay.cs index c4173a2b041..4b4c3809801 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugDisplay.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/Debug/DebugDisplay.cs @@ -822,6 +822,7 @@ void EnableProfilingRecordersRT() m_RecordedSamplersRT.Add(HDProfileId.RaytracingBuildCluster); m_RecordedSamplersRT.Add(HDProfileId.RaytracingCullLights); + m_RecordedSamplersRT.Add(HDProfileId.RaytracingBuildAccelerationStructure); // Ray Traced Reflections m_RecordedSamplersRT.Add(HDProfileId.RaytracingReflectionDirectionGeneration); From ce73dc540d8cc555d8cef1db0cb6562644cb2ed2 Mon Sep 17 00:00:00 2001 From: Anis Benyoub Date: Mon, 15 Nov 2021 12:01:18 +0100 Subject: [PATCH 2/2] changelog --- com.unity.render-pipelines.high-definition/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index d769784a6a2..58116eea57c 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -61,6 +61,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed light unit conversion after changing mid gray value. - Fixed Focus distance in path traced depth of field now takes into account the focus mode setting (volume vs camera). - Fixed stencil buffer resolve when MSAA is enabled so that OR operator is used instead of picking the last sample. +- Fixed the ray tracing acceleration structure build marker not being included in the ray tracing stats (case 1379383). ### Changed - Use RayTracingAccelerationStructure.CullInstances to filter Renderers and populate the acceleration structure with ray tracing instances for improved CPU performance on the main thread.