mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
i965: Fix assignment instead of comparison in asserts.
Fixes side effect in assertion defects reported by Coverity.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
(cherry picked from commit 1559994cba)
This commit is contained in:
parent
5611a5a387
commit
a7e2c615f1
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue