6/10: WineD3D: rsq and rcp instructions may need a default swizzle in arb.
authorStefan Dösinger <stefan@codeweavers.com>
Thu, 15 Feb 2007 12:50:59 +0000 (13:50 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 15 Feb 2007 16:21:27 +0000 (17:21 +0100)
commit2f96220b3e76b28bd1baa4f1d17cdbcea57617f2
tree32e5232c3f8f381b4cd02d1ad0ca4fe070cdfbf1
parent8e84127aedd6b32eb4b76ea22a07f648342ae2a4
6/10: WineD3D: rsq and rcp instructions may need a default swizzle in arb.

ARB shaders need a swizzle for the RSQ and RCP instructions, while d3d
shaders do not. The DirectX sdk says that the x component is used if
no swizzle is given.
dlls/wined3d/arb_program_shader.c
dlls/wined3d/vertexshader.c
dlls/wined3d/wined3d_private.h