nv50: flatten simple IF/ELSE/ENDIF constructs
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Mon, 16 Aug 2010 13:21:23 +0000 (15:21 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Mon, 16 Aug 2010 22:47:46 +0000 (00:47 +0200)
commite7a0bfa69a6ce45bb53baa8220eae418225c5649
tree599ff01869b30151d57cee914549eff988798918
parent4de293bb9acd1ecda683f735af32f7485a0f213e
nv50: flatten simple IF/ELSE/ENDIF constructs

Less branching means less instructions and less thread divergence.
src/gallium/drivers/nv50/nv50_pc.c
src/gallium/drivers/nv50/nv50_pc.h
src/gallium/drivers/nv50/nv50_pc_optimize.c
src/gallium/drivers/nv50/nv50_tgsi_to_nc.c