AnyPS5/core
Celegans12 4a67b140fc feat(agc): accept conservative Z export in DB_SHADER_CONTROL
DecodeState, the draw precheck and DecodePixelStageInfo rejected every
nonzero CONSERVATIVE_Z_EXPORT (DB_SHADER_CONTROL bits 13-14).
EXPORT_LESS_THAN_Z (1) and EXPORT_GREATER_THAN_Z (2) promise that the
exported Z stays on one side of the interpolated Z. The value now
reaches the recompiler as a pixel stage field, and a pixel shader that
writes FragDepth declares DepthLess or DepthGreater next to
DepthReplacing, the SPIR-V modes RADV maps to these values. Vulkan lets
those modes only add a depth test of the interpolated Z before shading,
so a shader that keeps the promise renders the same. The reserved value
3 still throws.

The field is part of the recompile cache key, the draw key and the
serialized request (version 7), and ValidateShaders accepts both modes.
2026-10-06 00:35:43 +02:00
..
Decoder fix(pngenc): restrict adaptive filtering to the requested filter subset 2026-10-05 02:08:31 +02:00
libs feat(agc): accept conservative Z export in DB_SHADER_CONTROL 2026-10-06 00:35:43 +02:00
relinker Merge pull request #679 from Celegans12/fix/relinker-windows-low-entropy-stacks 2026-10-06 07:57:17 +13:00
shader/recompiler feat(agc): accept conservative Z export in DB_SHADER_CONTROL 2026-10-06 00:35:43 +02:00