- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
System Setup Information:
-----------------------------------------
System Used: Intel NUC7i5BN
CPU SKU: i5
GPU SKU: Intel Iris Plus Graphics 640
Processor Line: i5-7260U
Graphics Driver Version: 26.20.100.7212
Operating System: Windows 10 Home
OS Version: 10.0.17763
API: Vulkan
Occurs on non-Intel GPUs?: No (tested on NVidia, AMD, Mali, Adreno)
Steps to Reproduce:
-------------------------------
See sample code to reproduce the issue at https://github.com/flyinghead/PracticalVulkan
1. Disable depth buffer write
2. Set z coordinate of vertices in the vertex shader outside the [0,1] range
3. Update gl_FragDepth in the fragment shader to a value within [0,1]
Under these conditions, geometry isn't drawn.
Enabling depth buffer writes makes geometry appear.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
This is Sławomir from the graphics software engineering team.
Thank you for your report! Yes, you are right, there is a bug in handling FragDepth shader output if depthWrite state is disabled.
The issue was reproduced and the team is now working on a fix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Slawomir,
Thank you for this update. Obviously this is great news!
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
THanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page