i965/vec4: Add and use vec4_instruction::writes_flag().
authorMatt Turner <mattst88@gmail.com>
Wed, 12 Mar 2014 07:14:07 +0000 (00:14 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 24 Mar 2014 18:06:25 +0000 (11:06 -0700)
commitde4692f56cc566e0f6bd979dd2e7c88a0efde7e6
treea705781341e3cd1edb630c85d5f45e4fd52ddd0b
parentb0d3205c2a676d9eeda72335ef61ce3f0bddc63a
i965/vec4: Add and use vec4_instruction::writes_flag().

To be consistent with the fs backend. Also the instruction scheduler
incorrectly considered SEL with a conditional modifier to read the flag
register.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp
src/mesa/drivers/dri/i965/brw_vec4.h