i965/fs: Assert that IF instruction with embedded compare has legal exec_size.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 17 May 2016 23:01:29 +0000 (16:01 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:19:22 +0000 (23:19 -0700)
commit122e0315480704a7c6777b994c42448d360e6774
tree513e6dedf72d521495214da7d1f6dc54696f9d62
parent98c8bef01cae5fd70dda22fd7ac0b5694c4dfb5f
i965/fs: Assert that IF instruction with embedded compare has legal exec_size.

We shouldn't encounter these right now but if we did it wouldn't be
possible for the SIMD lowering pass to split it into multiple
instructions because of its side effects on control flow, so just
assert in order to kill the program.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs.cpp