Butterfly
Posts: 94 from 2020/12/24
Very interesting to read that a kind of mini shader functionality already exists on R300 drivers.
If somewhat old Radeons can have some support from R300 shader code allowing the missing functions to be implemented, I would bet for it: Besides non-duplicated work, probably it would increase performance leaving normal CPU for other tasks (not sure about that).
Dhewm3 by default uses GL_ARB_vertex_program and GL_ARB_fragment_program extensions.
The rest of needed functionalities are located in RenderSystem_init.cpp and draw_arb2.cpp sources.
It was not my intention to push developers to a humongous work but my "potato port" might have some use after all.