summaryrefslogtreecommitdiff
path: root/src/i915_render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i915_render.c')
-rw-r--r--src/i915_render.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/i915_render.c b/src/i915_render.c
index 0a260f30..93498734 100644
--- a/src/i915_render.c
+++ b/src/i915_render.c
@@ -656,15 +656,17 @@ static void i915_emit_composite_setup(ScrnInfoPtr scrn)
PICT_FORMAT_RGB(mask_picture->format)) {
if (i915_blend_op[op].src_alpha) {
i915_fs_mul(out_reg,
- i915_fs_operand(src_reg, W, W, W, W),
- i915_fs_operand_reg(mask_reg));
+ i915_fs_operand(src_reg, W, W, W, W),
+ i915_fs_operand_reg(mask_reg));
} else {
- i915_fs_mul(out_reg, i915_fs_operand_reg(src_reg),
- i915_fs_operand_reg(mask_reg));
+ i915_fs_mul(out_reg,
+ i915_fs_operand_reg(src_reg),
+ i915_fs_operand_reg(mask_reg));
}
} else {
- i915_fs_mul(out_reg, i915_fs_operand_reg(src_reg),
- i915_fs_operand(mask_reg, W, W, W, W));
+ i915_fs_mul(out_reg,
+ i915_fs_operand_reg(src_reg),
+ i915_fs_operand(mask_reg, W, W, W, W));
}
}
if (dst_format == COLR_BUF_8BIT)