i965/fs: Change try_opt_frontfacing_ternary to eliminate asserts
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 28 Feb 2015 16:26:37 +0000 (08:26 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 17 Mar 2015 22:00:28 +0000 (15:00 -0700)
commit4a53445b0d199489b2d1ae7d8654791e42b16804
tree91c4251d4f9e2b9dc6324e7afa695272e69a3e02
parentce3f46397d77141156f81dd7fcf06fb936e2b0ef
i965/fs: Change try_opt_frontfacing_ternary to eliminate asserts

If we check for the case that is actually necessary, the asserts
become superfluous.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp