aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-10-26 04:04:16 -0700
committerMatt Turner <[email protected]>2015-11-13 11:27:50 -0800
commit3048053908310eaf082058e5be34ae902e1fc02c (patch)
tree2ca050037d38223e68193a8e4aed78971e736e78 /src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp
parent58fa9d47b536403c4e3ca5d6a2495691338388fd (diff)
i965: Unwrap some lines.
Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp b/src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp
index c9564597b2c..234bbec0b6b 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp
@@ -299,8 +299,7 @@ fs_visitor::opt_combine_constants()
reg->reg = table.imm[i].reg;
reg->subreg_offset = table.imm[i].subreg_offset;
reg->stride = 0;
- reg->negate = signbit(reg->f) !=
- signbit(table.imm[i].val);
+ reg->negate = signbit(reg->f) != signbit(table.imm[i].val);
assert(fabsf(reg->f) == table.imm[i].val);
}
}