Search Issue Tracker

Not Reproducible

Votes

0

Found in

2022.2.0a3

Issue ID

1407427

Regression

Yes

Compute Shader compilation error is thrown when importing HDRP

Shader System

-

How to reproduce:
1. Create a new empty project
2. Go to Window -> Package Manager -> Unity Registry -> High Definition RP -> Import
3. In the HDRP Wizard window, select "Fix All"
4. Observe the Console after import

Expected result: no compilation errors are thrown
Actual result: Exception: Compute Shader compilation error on platform Metal in file <...>: undeclared identifier 'LinearToSRGB' at kernel AmbientProbeConvolutionDiffuseVolumetric

Reproducible with: 2022.2.0a3, 2022.2.0a7
Not reproducible with: 2019.4.36f1, 2020.3.30f1, 2021.2.15f1, 2022.1.0b11, 2022.2.0a2

Comments (1)

  1. mgear

    Apr 05, 2022 19:00

    same here, 2022.2.0a9 + HDRP 14.0.2, "com.unity.render-pipelines.core@14.0.2/ShaderLibrary/SphericalHarmonics.hlsl:103: undeclared identifier 'LinearToSRGB' at kernel BlendStates
    HDRP will not run until the error is fixed."

Add comment

Log in to post comment