Fixes side effect in assertion defects reported by Coverity.
Note: This is a candidate for the 9.1 branch.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
{
assert(intel->gen >= 7);
assert(dst.type == BRW_REGISTER_TYPE_UD);
- assert(x.type = BRW_REGISTER_TYPE_F);
- assert(y.type = BRW_REGISTER_TYPE_F);
+ assert(x.type == BRW_REGISTER_TYPE_F);
+ assert(y.type == BRW_REGISTER_TYPE_F);
/* From the Ivybridge PRM, Vol4, Part3, Section 6.27 f32to16:
*