r300/compiler: Use ALU Result for IF conditionals
authorTom Stellard <tstellar@gmail.com>
Sun, 15 May 2011 04:47:26 +0000 (21:47 -0700)
committerTom Stellard <tstellar@gmail.com>
Sun, 15 May 2011 05:35:28 +0000 (22:35 -0700)
commit6d539579add0a9d3017f441d9fad5d4cd3ae7bb9
treebdb1cc77fd7d0e13188ed358a744d72e86f8c5ea
parent8a4136f6246dc25f5b4327386a0d7972c90cae82
r300/compiler: Use ALU Result for IF conditionals

This saves one instruction per IF.
src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c
src/mesa/drivers/dri/r300/compiler/r500_fragprog.c
src/mesa/drivers/dri/r300/compiler/r500_fragprog.h
src/mesa/drivers/dri/r300/compiler/radeon_optimize.c
src/mesa/drivers/dri/r300/compiler/radeon_variable.c
src/mesa/drivers/dri/r300/compiler/radeon_variable.h