On Mon, Apr 14, 2014 at 5:59 PM, Eric Anholt wrote:
> Matt Turner writes:
>> diff --git a/src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp
>> b/src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp
>> new file mode 100644
>> index 000..6addbb3
>> --- /dev/null
>> +++ b/src/mesa/dr
Matt Turner writes:
> diff --git a/src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp
> b/src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp
> new file mode 100644
> index 000..6addbb3
> --- /dev/null
> +++ b/src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp
> +
> +/** @fi
total instructions in shared programs: 1653399 -> 1651790 (-0.10%)
instructions in affected programs: 92157 -> 90548 (-1.75%)
GAINED:2
LOST: 2
Also significantly reduces the number of optimization loop iterations:
total loop ite