wined3d: Always declare single constants in ARB if rel addr is not used.
commit4daa3e532007a18640efd721181d2800114499ee
authorStefan Dösinger <stefan@codeweavers.com>
Thu, 7 May 2009 15:32:59 +0000 (7 17:32 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 8 May 2009 10:15:26 +0000 (8 12:15 +0200)
tree701cdb9483b9e0c3079c5dbd78f4e3dec9dee54f
parentf9276a64295e5fdff6e8b68958ed9ef0e9a29c31
wined3d: Always declare single constants in ARB if rel addr is not used.

This is needed to raise the number of advertised constants to the GL
limit.  The ARB assembler ususally does not optimize away unused
constants, so we have to do this.
dlls/wined3d/arb_program_shader.c