nvc0: fix branching ops
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Fri, 10 Dec 2010 19:13:40 +0000 (20:13 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Fri, 10 Dec 2010 19:20:34 +0000 (20:20 +0100)
commit51f22689a419a8a13ca105e8ffc905b5fadea0db
tree309fedef234bc3320f4b6017f1d5f9061f2861de
parente32ec112785d9ea111a9de0087f2f487cadc9051
nvc0: fix branching ops

- bra is PC relative
- jump to else condition was inverted
- handle integer comparisons
src/gallium/drivers/nvc0/nvc0_pc.c
src/gallium/drivers/nvc0/nvc0_pc.h
src/gallium/drivers/nvc0/nvc0_pc_emit.c
src/gallium/drivers/nvc0/nvc0_tgsi_to_nc.c