diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 8c961b6706c..c84edcdccf0 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -143,6 +143,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed issues with bloom, alpha and HDR layers in the compositor (case 1272621). - Fixed alpha not having TAA applied to it. - Fix issue with alpha output in forward. +- Fix compilation issue on Vulkan for shaders using high quality shadows in XR mode. ### Changed - Preparation pass for RTSSShadows to be supported by render graph. diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowManager.cs b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowManager.cs index 5a84b7b7762..c3ff8337c0c 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowManager.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowManager.cs @@ -58,7 +58,6 @@ struct HDShadowData public Vector4 zBufferParam; public Vector4 shadowMapSize; - [SurfaceDataAttributes(precision = FieldPrecision.Real)] public Vector4 shadowFilterParams0; public Vector3 cacheTranslationDelta; diff --git a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowManager.cs.hlsl b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowManager.cs.hlsl index 43c6844777e..c66758380ec 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowManager.cs.hlsl +++ b/com.unity.render-pipelines.high-definition/Runtime/Lighting/Shadow/HDShadowManager.cs.hlsl @@ -18,7 +18,7 @@ struct HDShadowData float normalBias; real4 zBufferParam; float4 shadowMapSize; - real4 shadowFilterParams0; + float4 shadowFilterParams0; float3 cacheTranslationDelta; float isInCachedAtlas; float4x4 shadowToWorld;