From d98d2e7c6c34039032e6a0fb8888c450660c763f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20K=C3=B6nig?= Date: Tue, 14 Dec 2010 20:20:36 +0100 Subject: [PATCH] [g3dvl] no need to swizzle a scalar --- src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c b/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c index b0ac57ab7a3..eec6a65ee79 100644 --- a/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c +++ b/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c @@ -390,7 +390,7 @@ fetch_ref(struct ureg_program *shader, struct ureg_dst field) tc[3], tc[2]); ureg_TEX(shader, ref[1], TGSI_TEXTURE_2D, ureg_src(tmp), sampler[1]); - ureg_LRP(shader, result, ureg_scalar(ureg_imm1f(shader, 0.5f), TGSI_SWIZZLE_X), + ureg_LRP(shader, result, ureg_imm1f(shader, 0.5f), ureg_src(ref[0]), ureg_src(ref[1])); ureg_fixup_label(shader, bi_label, ureg_get_instruction_number(shader)); -- 2.30.2