Unity Issue Tracker - ComputeShader compilation is executed sequentially, resulting in subpar performance
Closed
UUM-114028
ComputeShader compilation is executed sequentially, resulting in subpar performance
Unity: Shader System
Won't Fix
6.5.X
6.4.X
6.3.X
6.2.X
6.1.X
6.0.X
Cancelling: the 6000.1 version has reached its end of life. If you need additional fixes, please upgrade to a newer Unity version.
Reproduction steps:
1. Open the attached “IN-102708_Repro.zip“ project
2. Open the “Assets/MyShaderTest/StandaloneShader_500_500.compute“ Compute Shader in an IDE
3. Add a space in an empty line and save the file
4. Open a resource monitoring tool where CPU utilization can be monitored
5. Go back to the Editor to trigger a recompilation of the Compute Shader
6. Observe CPU utilization
Expected result: Compute Shader compilation works in parallel, load is distributed evenly between the CPU cores
Actual result: Only a single CPU core is fully utilized