going through arb_shadow specs i can see no restriction on using 2 or more depth compare stages at the same time
in fact, this works fine on nv cards (tested on a 5900) but fails on my mobility 9700 (126.96.36.19958 drivers)
actually if there's already 1 depth compare (say in tex unit 0) the card behaves as it is expecting a rgb texture in the next stage
as far as you know, is there any way to get this to work on ati hardware?
thanks for any help you may provide