From 237aa33c67039f6660cac19f061057250b8b3697 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 3 Dec 2010 15:33:13 -0800 Subject: [PATCH] i965: Make the sampler's implied move on gen6 be a raw move. We were accidentally doing a float-to-uint conversion. --- src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index 8782f726398..ef634e00ba4 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -1952,7 +1952,7 @@ void brw_SAMPLE(struct brw_compile *p, brw_push_insn_state(p); brw_set_mask_control( p, BRW_MASK_DISABLE ); brw_set_compression_control(p, BRW_COMPRESSION_NONE); - brw_MOV(p, brw_message_reg(msg_reg_nr), src0); + brw_MOV(p, retype(brw_message_reg(msg_reg_nr), src0.type), src0); brw_pop_insn_state(p); } src0 = brw_message_reg(msg_reg_nr); -- 2.30.2