Search Issue Tracker

Fixed

Votes

0

Found in

2018.4

2018.4.15f1

2019.3

Issue ID

1282858

Regression

No

[Metal] Stencil buffer is not present when using dynamic frame buffer scaling via the ScalableBufferManager.ResizeBuffers()

Metal

-

How to reproduce:
1. Open the attached 'calableBufferManager-ResizeBuffers-urgent.zip' project
2. Go to File > Build Settings and tick Development Build checkbox, switch platform to iOS
3. Build for iOS and open the Xcode project
4. Select Menu bar-> Product-> Scheme-> Edit Scheme
5. Set GPU Frame Capture to Metal and Metal API Validation to Enabled
6. Deploy the Xcode project to the iOS device
7. Press 'Capture GPU frame' button
8. Select Command Buffer in the sidebar and expand the graph folders
9. Check the Stencil buffer is active from the top to the bottom of the graph
10. Press Reduce to scale buffers in launched application
11. Make another frame capture and check the graph from the top

Expected result: Stencil buffer is present
Actual result: Stencil buffer is not present

Reproducible with: 2018.4.27f1, 2019.3.0a11
Not reproducible with: 2019.3.0a12, 2019.4.12f1, 2020.1.8f1, 2020.2.0b6

Reproducible with:
iPhone 8+ (iOS 12.0)
iPhone XR (iOS 13.4.1)
iPad 9.7’ 6th gen (iOS 14.2)

Notes:
- Screenshots of the issue are attached in Edit (after resize.png, before resize.png, DynamicScaling.png, NoDynamicScaling.png)

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.