Recover saturated winding at guarded native-wide rendering branches

This commit is contained in:
Matthew Stanley
2026-10-02 16:47:59 -07:00
parent 3787120488
commit 1ed0dfd22d
17 changed files with 200 additions and 5 deletions
+3 -2
View File
@@ -8081,9 +8081,10 @@ static void handle_ws_nw(int id, const char *json)
GpuWsDebug ws;
gpu_ws_get_debug(&ws);
send_fmt("{\"id\":%d,\"ok\":true,\"native_wide\":%d,\"mode\":%d,\"nw_extra\":%d,"
"\"projection_correction\":%d,\"projection_vertices\":%llu}",
"\"projection_correction\":%d,\"projection_vertices\":%llu,\"nclip_rescues\":%llu}",
id, psx_ws_get_native_wide(), ws.mode, ws.nw_extra,
correction, (unsigned long long)corrected_vertices);
correction, (unsigned long long)corrected_vertices,
(unsigned long long)gpu_ws_native_wide_nclip_rescues());
}
/* Live scanline post-process toggle (A/B): `scanline on=<0|1> pct=<0..100>`.