2f3faf4526
TMP_POS is only used in vertex shaders, declare it in the vshader specific code. The sRGB constants are only used by pixel shaders, so move them to the ps specific code, and avoid reading the stateblock. |
||
---|---|---|
.. | ||
Makefile.in | ||
arb_program_shader.c | ||
ati_fragment_shader.c | ||
baseshader.c | ||
basetexture.c | ||
buffer.c | ||
clipper.c | ||
context.c | ||
cubetexture.c | ||
device.c | ||
directx.c | ||
drawprim.c | ||
gl_compat.c | ||
glsl_shader.c | ||
nvidia_texture_shader.c | ||
palette.c | ||
pixelshader.c | ||
query.c | ||
resource.c | ||
shader_sm1.c | ||
shader_sm4.c | ||
state.c | ||
stateblock.c | ||
surface.c | ||
surface_base.c | ||
surface_gdi.c | ||
swapchain.c | ||
swapchain_base.c | ||
swapchain_gdi.c | ||
texture.c | ||
utils.c | ||
vertexdeclaration.c | ||
vertexshader.c | ||
view.c | ||
volume.c | ||
volumetexture.c | ||
wined3d.spec | ||
wined3d_gl.h | ||
wined3d_main.c | ||
wined3d_private.h |