diff options
author | Eric Anholt <eric@anholt.net> | 2010-12-03 15:33:13 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-12-06 00:14:23 -0800 |
commit | 237aa33c67039f6660cac19f061057250b8b3697 (patch) | |
tree | ccdcb6d79c665cd2bd3f3e3cf7e698d47587a909 | |
parent | 5340dd8ccacda82d4e68a4357f90503c84831594 (diff) |
i965: Make the sampler's implied move on gen6 be a raw move.
We were accidentally doing a float-to-uint conversion.
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index 8782f72639..ef634e00ba 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); |