r300: Fix WRITEMASK handling when writing to result.depth
authorNicolai Haehnle <nhaehnle@gmail.com>
Mon, 19 Mar 2007 18:45:45 +0000 (19:45 +0100)
committerNicolai Haehnle <nhaehnle@gmail.com>
Mon, 19 Mar 2007 18:48:58 +0000 (19:48 +0100)
commitc4bf863f4cb48c2de284933bb1fc725b540ee810
tree9af7aa5cfa36293b8736e266a8507196072c0219
parentb645e8c96dc1e3b153cf882c8931f10e0c006f04
r300: Fix WRITEMASK handling when writing to result.depth

This is a necessary change to emit the right instructions when writing
to result.depth.

However, even with this test, Z-write doesn't work properly, and I don't
fully understand why. In addition to this, we'll at least have to disable
early-Z, but even that doesn't seem to be enough.
src/mesa/drivers/dri/r300/r300_fragprog.c