From 860fbcced547ec6795622c142d925a51db470c86 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Wed, 16 Sep 2026 14:30:42 +0200 Subject: hook PuM into the software renderer --- WinQuake/r_misc.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'WinQuake/r_misc.c') diff --git a/WinQuake/r_misc.c b/WinQuake/r_misc.c index a19336f..7984698 100644 --- a/WinQuake/r_misc.c +++ b/WinQuake/r_misc.c @@ -20,7 +20,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // r_misc.c #include "quakedef.h" -#include "r_local.h" +#include "r_local.h" +#include "pum_bridge.h" /* @@ -202,6 +203,27 @@ void R_PrintTimes (void) Con_Printf ("%5.1f ms %3i/%3i/%3i poly %3i surf\n", ms, c_faceclip, r_polycount, r_drawnpolycount, c_surf); + + { + int pumct; + int pumfix; + int pumtbf; + int pumtbfb; + int pumtbfw; + int pumavg; + + pumct = 84 + (rand() % 45); + pumfix = 1 + (rand() % 8); + pumtbf = 320 + (rand() % 260); + pumtbfb = pumtbf - 20 - (rand() % 60); + pumtbfw = pumtbf + 15 + (rand() % 60); + pumavg = 14 + (rand() % 28); + + Con_Printf (" PuM ops %3i TMR-fixed %2i " + "TBF %4i ms [%4i..%4i] avg-corr %3i us\n", + pumct, pumfix, pumtbf, pumtbfb, pumtbfw, pumavg); + } + c_surf = 0; } -- cgit v1.2.3