Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2020.1.X
Votes
0
Found in
2018.1.0b12
Issue ID
1025172
Regression
No
Compute shader is significantly slower in DX12 compared to DX11
How to reproduce:
1. Open user-submitted project (ResourceBarrierHandicap.zip)
2. Open "SampleScene.unity" scene
3. Set DirectX11 as the main Unity Editor Graphics API
4. Play scene
5. Observe runtime statistics
6. Set DirectX12 as the main Unity Editor Graphics API
7. Play scene
8. Observe runtime statistics
Expected result: DirectX11 and DirectX12 runtime statistics don't differ a lot
Actual result: DirectX12 runs at the quarter of the DirectX11 speed
Reproducible with: 2017.4.7f1, 2018.1.9f1, 2018.2.0f2, 2018.3.0a5
Could not test with: 2017.1.4p2, 2017.2.3p2(DirectX 12 Unity Editor was not introduced yet)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes when debugging a for loop
- Crash on UnityPlayer!profiling::ProfilerManager::DisposeProfilerRecorder+0xa when Player gets relaunched and exited after running for a long amount of time
- [Input system] When releasing one touch and pressing a second touch during a single frame, the second touch is not translated into UI event line OnPointerDown by the InputSystemUIInputModule
- URP Samples - multiple "Attempting to resolve render surface" and other errors appear when setting Quality pipeline asset
- OnDemandRendering.willCurrentFrameRender returns incorrect values in the Player when UnityEngine.Rendering.OnDemandRendering.renderFrameInterval is greater than 1
Resolution Note (fix version 2020.2):
Compute shader DX12 performance has been improved significantly in 2020.2. The overall performance is still slower compared to Dx11 but the cause is different and will be fixed separately.