• 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
..
Makefile.in Loading commit data...
arb_program_shader.c Loading commit data...
ati_fragment_shader.c Loading commit data...
baseshader.c Loading commit data...
basetexture.c Loading commit data...
buffer.c Loading commit data...
clipper.c Loading commit data...
context.c Loading commit data...
cubetexture.c Loading commit data...
device.c Loading commit data...
directx.c Loading commit data...
drawprim.c Loading commit data...
gl_compat.c Loading commit data...
glsl_shader.c Loading commit data...
nvidia_texture_shader.c Loading commit data...
palette.c Loading commit data...
pixelshader.c Loading commit data...
query.c Loading commit data...
resource.c Loading commit data...
shader_sm1.c Loading commit data...
shader_sm4.c Loading commit data...
state.c Loading commit data...
stateblock.c Loading commit data...
surface.c Loading commit data...
surface_base.c Loading commit data...
surface_gdi.c Loading commit data...
swapchain.c Loading commit data...
swapchain_base.c Loading commit data...
swapchain_gdi.c Loading commit data...
texture.c Loading commit data...
utils.c Loading commit data...
vertexdeclaration.c Loading commit data...
vertexshader.c Loading commit data...
view.c Loading commit data...
volume.c Loading commit data...
volumetexture.c Loading commit data...
wined3d.spec Loading commit data...
wined3d_gl.h Loading commit data...
wined3d_main.c Loading commit data...
wined3d_private.h Loading commit data...