• Stefan Dösinger's avatar
    wined3d: Clear the constant list before finding constants. · 5426cd63
    Stefan Dösinger authored
    shader_get_registers_used is delayed until compile time for some 1.x
    shaders, mostly to wait for the right vertex declaration to be
    set. This means that on a recompile it will be run again, adding
    another instance of each local constant, which in turn causes compile
    errors because of constant redeclaration. Just purging the lists
    before finding the constants is a simple and reliable solution.
    5426cd63
Name
Last commit
Last update
..
Makefile.in Loading commit data...
arb_program_shader.c Loading commit data...
baseshader.c Loading commit data...
basetexture.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...
glsl_shader.c Loading commit data...
indexbuffer.c Loading commit data...
palette.c Loading commit data...
pixelshader.c Loading commit data...
query.c Loading commit data...
resource.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...
texture.c Loading commit data...
utils.c Loading commit data...
vertexbuffer.c Loading commit data...
vertexdeclaration.c Loading commit data...
vertexshader.c Loading commit data...
volume.c Loading commit data...
volumetexture.c Loading commit data...
wined3d.spec Loading commit data...
wined3d_main.c Loading commit data...
wined3d_private.h Loading commit data...
wined3d_private_types.h Loading commit data...