andrei-drexler / ironwail

High-performance QuakeSpasm fork
GNU General Public License v2.0
555 stars 50 forks source link

[Bug] r_speeds 1 doesn't display wpoly stats #18

Open bstordeur opened 2 years ago

bstordeur commented 2 years ago

R_speeds 1 no longer displays wpoly stats, it just says 0. in Ironwail : image in vkQ at approximately the same spot : image

andrei-drexler commented 2 years ago

This one's a bit tricky - the CPU simply doesn't know how many wpolys are drawn, since the GPU handles culling and produces the index buffer itself. I could keep track of that info on the GPU and then read it back on the CPU a couple of frames later, though.

bstordeur commented 2 years ago

It's not a major issue tbh, can always check in other engines, was mostly reporting it in case it was a simple fix. Not like you really need to care about those numbers considering how fast the engine renders everything anyways. :D