i965: Fix assignment instead of comparison in asserts.
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>
This commit is contained in:
parent
407029591c
commit
1559994cba
|
@ -951,8 +951,8 @@ fs_generator::generate_pack_half_2x16_split(fs_inst *inst,
|
|||
{
|
||||
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:
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue