wined3d: Use COLOROUT/DEPTHOUT for pixel shaders 2.0+.
commitc65a86828c82ce305b6891ea01688c664724df42
authorIvan Gyurdiev <ivg2@cornell.edu>
Wed, 17 May 2006 06:09:25 +0000 (17 02:09 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 17 May 2006 08:56:25 +0000 (17 10:56 +0200)
treedb6a5bdf1764a5128c139eaa11a0507b5a1583c7
parent174734e4a29d8f11b8dc75e7fc9835921c8ccb48
wined3d: Use COLOROUT/DEPTHOUT for pixel shaders 2.0+.

As previously mentioned, RASTOUT is invalid on pixel shaders.
On shaders 1.x, r0 is treated as the color output register:
http://www.gamedev.net/columns/hardcore/dxshader3/page2.asp
That's what we currently do in all cases, change it not to do so
for shaders >= 2.0. Support COLOROUT/DEPTHOUT instead.
dlls/wined3d/pixelshader.c