Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2019.4.25f1
2020.3
2021.1
2021.2
2022.1
Issue ID
1347343
Regression
No
Reading RWTexture2D in a Compute Shader produces different results when using OpenGL compared to other graphics APIs
How to reproduce:
1. Open the attached project named "ComputeShaderTest.zip"
2. Open the SampleScene
3. Enter Play Mode
4. Open the Frame Debugger
5. Select the SSPR call and observe that the bottom left corner of the Game window is colored green
6. Change the Graphics API to D3D11, D3D12, Vulkan or Metal
7. Repeat steps 3-5
Expected results: The corner is colored the same way with all APIs
Actual results: The corner is colored differently when using OpenGLCore or OpenGL ES3
Reproducible with: 2019.4.29f1(URP 7.7.0), 2020.3.13f1(URP 10.5.0), 2021.1.14f1(URP 11.0.0), 2021.2.0b2(URP 12.0.0), 2022.1.0a2(URP 12.0.0)
Notes:
1. The attached project uses URP and a ScriptableRenderPass
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
- [Vulkan] Crash on with multiple stack traces when rendering large Terrain with specific hardware
- Crash on SkinnedMeshRendererManager when interacting with a prefab generated with uncombined meshes using Synty Sidekick Character Creator
- Crash on folly::detail::safe_assert_terminate_v when updating the Meta XR SDK Packages
- The text font falls back on a different font depending on the fallback font used
- Template is opened in Isolation when opening it in Context and users Save the UI Document when prompted to do so in UI Builder
Resolution Note (2022.1.X):
The compute shader should use 'RWTexture2D<unorm float4>' so that the shader compiler can generate the correct GLSL image format qualifier that is needed for RWTExture that is not write-only.
We are going to extend the documentation.