Search Issue Tracker

Fixed in 10.1.0



Found in [Package]


Issue ID




[Vulkan] Shader Graph compilation errors on Vulkan - cannot convert from 'const float' to 'global 4-component vector of bool'

Package: Scriptable Render Pipeline HD


How to reproduce:
1. Open the attached project(Check edit below) using the '-xr-tests' as command-line arguments
2. Open Scene named "4013_TransparentMotionVector"
3. Select the HDRP_Test_Camera GameObject and check if XR compatibility is enabled under the HDRP_Test Settings component
4. Click Window -> General -> Test Runner
5. Select the PlayMode tab and search for test "4013_TransparentMotionVector"
6. Run the test and observe the results

Expected result: The test succeeds with no issues
Actual result: The test fails throwing an error in 'Shader Graphs/SG_Fabric_TransparentWithMotionVector': '' : compilation terminated at line 1103 (on vulkan)

Reproducible with: 2020.2.0b2(10.0.0-preview.27, 10.1.0-preview.21)
Not reproducible with: 2019.4.10f1(7.5.1), 2020.1.5f1(8.3.1), 2020.2.0b1(9.0.0-preview.68, 10.0.0-preview.27)
Could not test with: 2018.4.27f1(HDRP was in early preview stage)

1. Graphics APIs tested: D3D11, D3D12, Vulkan

  1. Resolution Note (fix version 10.1.0):

    HLSLcc bug. The fix is made up of two parts which landed in 2021.1.0a1 Editor and HDRP 10.1.0 package. Both Editor side and package side versions are required for the fix to work

  2. Resolution Note (fix version 10.1.0):

    Fixed in 2020.2.1f1 and HDRP 10.1.0. Both Editor side and package side versions are required for the fix to work

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.