r600g: fix up depth write swizzles.
authorDave Airlie <airlied@redhat.com>
Tue, 31 Aug 2010 06:13:03 +0000 (16:13 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 31 Aug 2010 06:15:04 +0000 (16:15 +1000)
commitb87b6e5bf798fcfa486e8082a09b4425a40cf3c4
tree1dc2174d5d9b308409fc1ca75d25c194b7d18f2f
parentad202678fc4859b51a9198575a886707f57ad05b
r600g: fix up depth write swizzles.

For some reason r600c, emits extra instructions in the FP to do the depth write output swizzle,
I'm not sure this is required, so here I'm doing it in the exports.

this fixes the mesa trivial demos tri-depthwrite and tri-depthwrite2, it doesn't fix
the glsl1 gl_FragDepth writing test however.
src/gallium/drivers/r600/r600_shader.c