• Stefan Dösinger's avatar
    wined3d: Don't dirtify too many shader constants. · c82da7d9
    Stefan Dösinger authored
    If we have start = 4, count = 3, the highest dirty constant is the one with index 6. start + count gives 7,
    so it already includes the zero-based array correction. Don't add an additional 1.
    
    Additionally to the inefficiency of looking at one extra constant, this causes problems if the driver
    rejects loading 257 constants on the initial load. In this case no constant is loaded if
    GL_EXT_gpu_program_parameters is used.
    c82da7d9
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.rules.in Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...