r300/compiler: fix rc_rewrite_depth_out for it to work with any instruction
authorMarek Olšák <maraeo@gmail.com>
Wed, 24 Nov 2010 23:35:30 +0000 (00:35 +0100)
committerMarek Olšák <maraeo@gmail.com>
Fri, 26 Nov 2010 01:22:59 +0000 (02:22 +0100)
commitae3e58d973c6fbc10ca1e9880f40aec3a3ec1ecc
tree7281fd6accf7e9f12ceca2a7ef4a49af1c546ea2
parent2c1de07ddf9f4de6813f0ed46fc859b2f61db7b2
r300/compiler: fix rc_rewrite_depth_out for it to work with any instruction

It looks like the function was originally written for ARB_fragment_program.

NOTE: This is a candidate for the 7.9 branch.
src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c