mirror of
https://github.com/libretro/pcsx2.git
synced 2024-11-24 17:59:47 +00:00
0f603a98d5
The idea was to replace shader program swith by pointer function calls inside shaders. At least parameters that are often changed between draw call. So far I only ported atst and colclip. Unfortunately code is "slower" (on GSdx standalone). For the moment keep the code but disabled. If I understand well the validation of program is done in the "driver thread" but the additional call are done in the overloaded MTGS thread. Apitrace profiling shows faster GPU draw calls. Another possibility is that the driver still need to validate the draw call because of others state change. Here some stats on colin3 (90 frames): without subroutine: UseProgram 125246 with subroutine: UseProgram 2906, subroutine 125945 => 3605 extra calls overhead (not all parameters are ported to subroutine) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5715 96395faa-99c1-11dd-bbfe-3dabce05a288 |
||
---|---|---|
.. | ||
cdvdGigaherz/src | ||
CDVDiso | ||
CDVDisoEFP | ||
CDVDlinuz | ||
CDVDnull | ||
CDVDolio | ||
CDVDpeops | ||
dev9ghzdrk | ||
dev9null | ||
FWnull | ||
GSdx | ||
GSnull | ||
LilyPad | ||
onepad | ||
PadNull | ||
PeopsSPU2 | ||
spu2-x | ||
SPU2null | ||
SSSPSXPAD | ||
USBnull | ||
USBqemu | ||
xpad | ||
zerogs | ||
zerospu2 | ||
zzogl-pg/opengl | ||
zzogl-pg-cg/opengl | ||
CMakeLists.txt |