diff options
author | Eric Anholt <[email protected]> | 2013-02-05 15:36:18 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-02-13 17:47:06 -0800 |
commit | bf91f0b03942d966cf453201dc52c4aa4049f8fa (patch) | |
tree | 1fdc2c738e9a9fe4cefcd15fe8d971d4a47e048b /src/mesa/drivers/dri/i965/brw_fs.h | |
parent | ce3dfa19ab27871d7eecd5664c1674e467b736bc (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index d332502bde0..88fecb90494 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -178,6 +178,7 @@ public: bool overwrites_reg(const fs_reg ®); bool is_tex(); bool is_math(); + bool is_control_flow(); bool is_send_from_grf(); fs_reg dst; |