Reproduction steps:
1. Open the attached “repro-project“
2. Open the Assets/Test.unity scene
3. Observe the errors in the Console
Reproducible with: 2023.1.2f1, 2023.2.0a21
Could not test with: 2021.3.28f1, 2022.3.4f1 (could not downgrade the project)
Reproduced on: Windows 10 Pro
Notes:
1. Not reproducible on DirectX12 Graphics API
2. The following errors are displayed in the Console:
”Shader error in 'Test': glslang: '' : compilation terminated at kernel ToTex at line 26 (on vulkan)”
”Shader error in 'Test': glslang: 'input' : Reserved word. at kernel ToTex at line 26 (on vulkan)”
”Test.compute: Kernel at index (0) is invalid
UnityEngine.ComputeShader:Dispatch (int,int,int,int)
Test:Start () (at Assets/Test.cs:24)”