uxa/gen3: Simply simple fill shader generation

Suggested-by: Zdenek Kabelac <zkabelac@redhat.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-08-16 21:00:57 +01:00
parent 182581edde
commit b8bc56c12c
1 changed files with 2 additions and 6 deletions

View File

@ -779,12 +779,8 @@ i915_composite_emit_shader(intel_screen_private *intel, CARD8 op)
else
i915_fs_texldp(src_reg, FS_S0, FS_T0);
if (src_reg != FS_OC) {
if (dest_is_alpha)
i915_fs_mov(FS_OC, i915_fs_operand(src_reg, W, W, W, W));
else
i915_fs_mov(FS_OC, i915_fs_operand_reg(src_reg));
}
if (src_reg != FS_OC)
i915_fs_mov(FS_OC, i915_fs_operand(src_reg, W, W, W, W));
} else {
i915_fs_dcl(FS_T1);
i915_fs_dcl(FS_S1);