Handle depth clipping and depth bounds failure separately

* This prevents truly depth-clipped fragments from being wrongly reported as
  other failures like backface culling.
This commit is contained in:
baldurk
2020-07-20 16:07:36 +01:00
parent 6a8e7cbbe5
commit f6babe77fd
6 changed files with 146 additions and 27 deletions
+1
View File
@@ -896,6 +896,7 @@ void DoSerialise(SerialiserType &ser, PixelModification &el)
SERIALISE_MEMBER(sampleMasked);
SERIALISE_MEMBER(backfaceCulled);
SERIALISE_MEMBER(depthClipped);
SERIALISE_MEMBER(depthBoundsFailed);
SERIALISE_MEMBER(viewClipped);
SERIALISE_MEMBER(scissorClipped);
SERIALISE_MEMBER(shaderDiscarded);