Search Issue Tracker

Fixed

Fixed in 2022.3.30f1, 6000.0.1f1

Votes

0

Found in

2022.3.23f1

2023.2.17f1

6000.0.0b14

Issue ID

UUM-69202

Regression

No

Inconsistent ColorMask Behavior in MRT (Deferred) rendering with Vulkan Graphics API

--

-

Reproduction steps:
1. Install RenderDoc on your machine
2. Open the attached project "ReproProject"
3. Ensure that DirectX Graphics API is active (Edit > Project Settings > Player > Graphics APIs for Windows)
4. Load RenderDoc (right-click on Game window title > Load RenderDoc), Capture the frame
5. In the RenderDoc Window, observe Pipeline State (select OM from the pipeline)
6. Look for UniversalRenderPipeline.RenderSingleCameraInternal: Camera > ScriptableRenderer.Execute MyUniversalRendererData > Render GBuffer > RenderLoop.Draw > DrawIndexed(36)
7. Under the Target Blends section of the Pipeline State, observe that the write masks are all G values
8. Switch the project to use Vulkan Graphics API (Edit > Project Settings > Player > Graphics APIs for Windows, make Vulkan appear above Direct3D11) and accept the request to restart the Editor
9. Repeat step 4
10. In the RenderDoc Window, Look for UniversalRenderPipeline.RenderSingleCameraInternal: Camera > ScriptableRenderer.Execute MyUniversalRendererData > Render GBuffer > RenderLoop.Draw > vkCmdExecuteCommands
11. Under the Target Blends section of the Pipeline State, observe that the write masks are all RGBA values except for index/slot 0

Expected result: The values for the write masks should be the same for both graphics (DirectX and Vulkan)
Actual result: The values for the write masks are not the same

Reproducible with: 2021.3.37f1, 2022.3.23f1, 2023.2.17f1, 6000.0.0b14

Reproduced on: Windows 11 23H2 (22631.3007), Windows 11 (10.0.22631) 64bit (user’s)
Not reproduced on: No other environment tested

  1. Resolution Note (fix version 6000.0.1f1):

    Fixed Vulkan color mask behavior when separate MRT blend is disabled.

  2. Resolution Note (fix version 2022.3.30f1):

    Fixed Vulkan color mask behavior when separate MRT blend is disabled.

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.