wined3d: Fix 1.4 pshader projection in ARB.
commitfc5e511dda1683c9bfd3b29011d08118e14bb842
authorStefan Dösinger <stefan@codeweavers.com>
Tue, 5 May 2009 20:13:12 +0000 (5 22:13 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 13 May 2009 11:21:43 +0000 (13 13:21 +0200)
tree6b3731b5ae339c01f9225b156aa505209b763eb4
parent45799fdc4ec8529fed07a695be4078b1a820fbbb
wined3d: Fix 1.4 pshader projection in ARB.

shader_arb_add_src_param handled DW and TXP undid it again. Remove DZ DW from
the modifiers and handle it in the instruction. DZ cannot be handled by TXP as
is, so move the .z component to .w and make it DW-like. Using SZW+TXP is
likely more efficient than the RCP, MUL, TEX we'd get if we let
shader_arb_add_src_param do the job.
dlls/wined3d/arb_program_shader.c