wined3d: Put some ARB declarations in the right place.
authorStefan Dösinger <stefan@codeweavers.com>
Tue, 26 May 2009 10:58:02 +0000 (12:58 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 27 May 2009 09:56:29 +0000 (11:56 +0200)
commit2f3faf452646b8d249aeb827acdbc3d33fb54a30
treea945fb5836b4d43209e19e39b6572aed811cf2a9
parentf484cbbf916ed80a4f79fbe61d8a7902c900343b
wined3d: Put some ARB declarations in the right place.

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.
dlls/wined3d/arb_program_shader.c