commit | 6711f159d94f37f3f45d36a8cb172cfc00692875 | [log] [tgz] |
---|---|---|
author | Ilia Mirkin <imirkin@alum.mit.edu> | Sun Mar 20 13:11:01 2016 -0400 |
committer | Ilia Mirkin <imirkin@alum.mit.edu> | Mon Mar 28 08:35:38 2016 -0400 |
tree | 74e8032bfe99ca8e641afd2545beef87a1871254 | |
parent | 6262d6125a175d64045083341e74985652f44f17 [diff] |
nv50/ir: saturate depth writes Apparently there's no post-FS clamping logic, so we have to do this by hand. The depth will never be outside of the 0..1 range, even on floating point zeta buffers, so this should be safe. Fixes dEQP-GLES3.functional.fbo.depth.*clamp.* which tests writing invalid values on various zeta buffer formats. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>