i965/fs: Use a helper function for checking for flow control instructions.
authorEric Anholt <eric@anholt.net>
Tue, 5 Feb 2013 23:36:18 +0000 (15:36 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 14 Feb 2013 01:47:06 +0000 (17:47 -0800)
commitbf91f0b03942d966cf453201dc52c4aa4049f8fa
tree1fdc2c738e9a9fe4cefcd15fe8d971d4a47e048b
parentce3dfa19ab27871d7eecd5664c1674e467b736bc
i965/fs: Use a helper function for checking for flow control instructions.

In 2 of our checks, we were missing BREAK and CONTINUE.

NOTE: Candidate for the stable branches.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_schedule_instructions.cpp