nvc0/ir: implement better placement of texture barriers
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 29 Apr 2012 15:56:57 +0000 (17:56 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 29 Apr 2012 15:56:57 +0000 (17:56 +0200)
commit00fe442253744c4c4e7e68da44d6983da053968b
treea2220fceb8ffa22edd97b4d725b4e3ee231a19d0
parent163b290f886c69a233c71799613eb74fb2668085
nvc0/ir: implement better placement of texture barriers

Put them before first uses instead of right after the texturing
instruction and cull unnecessary barriers.
src/gallium/drivers/nv50/codegen/nv50_ir.h
src/gallium/drivers/nv50/codegen/nv50_ir_graph.cpp
src/gallium/drivers/nv50/codegen/nv50_ir_graph.h
src/gallium/drivers/nv50/codegen/nv50_ir_lowering_nv50.cpp
src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp
src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp
src/gallium/drivers/nv50/codegen/nv50_ir_util.h
src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp