From 318743e694c7482bc02bddada57d7afdc62a7832 Mon Sep 17 00:00:00 2001 From: Anis Date: Wed, 17 Jun 2020 17:52:42 +0200 Subject: [PATCH 1/2] - Fixed a warning in the ray tracing ambient occlusion compute shader. --- com.unity.render-pipelines.high-definition/CHANGELOG.md | 1 + .../Raytracing/Shaders/RayTracingAmbientOcclusion.compute | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index b1a2fc0499e..7890ac33429 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -688,6 +688,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed an exception occuring when a camera doesn't have an HDAdditionalCameraData (1254383). - Fixed ray tracing with XR single-pass. - Fixed warning in HDAdditionalLightData OnValidate (cases 1250864, 1244578) +- Fixed a warning in the ray tracing ambient occlusion compute shader. ### Changed - Improve MIP selection for decals on Transparents diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/Shaders/RayTracingAmbientOcclusion.compute b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/Shaders/RayTracingAmbientOcclusion.compute index 39f232d6b37..394126ad44d 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/Shaders/RayTracingAmbientOcclusion.compute +++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/Shaders/RayTracingAmbientOcclusion.compute @@ -13,7 +13,7 @@ // Tile size of this compute #define RAYTRACING_AMBIENT_OCCLUSION_TILE_SIZE 8 -float4 _RaytracingAOIntensity; +float _RaytracingAOIntensity; RW_TEXTURE2D_X(float, _AmbientOcclusionTextureRW); [numthreads(RAYTRACING_AMBIENT_OCCLUSION_TILE_SIZE, RAYTRACING_AMBIENT_OCCLUSION_TILE_SIZE, 1)] From 6e96ef0233c314f1bafa8d5cdece15d401528323 Mon Sep 17 00:00:00 2001 From: sebastienlagarde Date: Wed, 17 Jun 2020 20:01:38 +0200 Subject: [PATCH 2/2] Update CHANGELOG.md --- com.unity.render-pipelines.high-definition/CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 7890ac33429..b1a2fc0499e 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -688,7 +688,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed an exception occuring when a camera doesn't have an HDAdditionalCameraData (1254383). - Fixed ray tracing with XR single-pass. - Fixed warning in HDAdditionalLightData OnValidate (cases 1250864, 1244578) -- Fixed a warning in the ray tracing ambient occlusion compute shader. ### Changed - Improve MIP selection for decals on Transparents