nv2a: Enable 16-bit floating point z-buffer mode

This commit is contained in:
Erik Abair 2021-11-18 15:46:50 -08:00 committed by GitHub
parent a3e507860e
commit 1c6e75885c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -3043,7 +3043,6 @@ DEF_METHOD(NV097, CLEAR_SURFACE)
/* FIXME: Remove bit for stencil clear? */
if (pg->surface_shape.z_format) {
gl_clear_depth = convert_f16_to_float(z) / f16_max;
assert(false); /* FIXME: Untested */
} else {
gl_clear_depth = z / (float)0xFFFF;
}