[2/3] wined3d: Constant load optimisations

Norbert Lataille nlataill at gmail.com
Sat Aug 20 11:47:01 CDT 2011


This patch is modifying walk_constant_heap() in order issue one unique
glUniform4fvARB() call per heap walk.
We are computing an inclusive range of registers to be updated
(through array call).
This reduced set of commands (and the linear nature of the memory
transfer) is bringing improvement.

This patch can be applied independently from part 1, and is optimized
further with part 3.


 dlls/wined3d/glsl_shader.c |   29 ++++++++++++++++++++++++-----
 1 files changed, 24 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Issue-range-uniform-changes.txt
Type: text/x-patch
Size: 2886 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110820/5730fc49/attachment.bin>

More information about the wine-patches mailing list