From 1c6e75885cb520843be294b38c4fb2954a634be0 Mon Sep 17 00:00:00 2001 From: Erik Abair Date: Thu, 18 Nov 2021 15:46:50 -0800 Subject: [PATCH] nv2a: Enable 16-bit floating point z-buffer mode --- hw/xbox/nv2a/pgraph.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/xbox/nv2a/pgraph.c b/hw/xbox/nv2a/pgraph.c index 01ca5e67f4..3f7dbce111 100644 --- a/hw/xbox/nv2a/pgraph.c +++ b/hw/xbox/nv2a/pgraph.c @@ -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; }