Steps to reproduce:
1. Open the attached project "dlss.zip"
2. Open the Package Manager Window
3. Select Packages, then select Built-in.
4. In the packages list view, find and select the NVIDIA package
5. In the bottom right of the package-specific detail view, select Enable
6. Select the HDRP Assets ("Assets\Settings\HDRP Balanced.asset", "Assets\Settings\HDRP High Fidelity.asset" and "Assets\Settings\HDRP Performant.asset") and view it in the Inspector
7. Go to Rendering > Dynamic Resolution and select Enable for all of them
8. In the dynamic resolution section, select the "Enable DLSS property"
9. Select Main Camera, select "Rendering > Allow Dynamic Resolution > Allow DLSS" property in the Inspector
10. Right click the game panel and select Load RenderDoc
11. Enter Play mode and capture a frame in RenderDoc
12. Load the frame captured just now. Search DLSS in the Resource Inspector window and see the second Event Clear to find the ClearUnorderedAccessViewFloat event
13. Look at the first Barrier event, you can see the DLSS resource's state is changed to D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE
Expected Results: D3D12 HDRP DLSS resource state is reported correctly when calling ClearUnorderedAccessViewFloat
Actual Results: D3D12 HDRP DLSS resource state is reported incorrectly when calling ClearUnorderedAccessViewFloat
Reproducible on: 2022.3.37f1, 6000.0.10f1
Could not test on 2021.3.40f1 due to DLSS not appearing in Resource List via RenderDoc
Testing Environment: Windows 11
Not reproducible on: No other environment tested
Notes:
-DLSS does not appear in Resource Inspector RenderDoc when using D3D11
-For steps 12 and 13 refer to the attached image ("RenderDocSteps.png")