i965/fs: Simplify result_live calculation in dead_code_eliminate().
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 1 Sep 2016 23:46:34 +0000 (16:46 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 14 Sep 2016 21:50:56 +0000 (14:50 -0700)
commit0bc46cc9619b8ae43e7a7c96bfe91f19371d301d
tree5a02fb8a9b48c015fd8ef75befafeea037b0f9a3
parent62aaef6c83e4eb354bd7f15803db01e90d22fc34
i965/fs: Simplify result_live calculation in dead_code_eliminate().

No need to unroll the first iteration of the loop manually.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp