diff --git a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp index d9ed27cf0ab..45072da6a67 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp @@ -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: *