projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5340dd8
)
i965: Make the sampler's implied move on gen6 be a raw move.
author
Eric Anholt
<eric@anholt.net>
Fri, 3 Dec 2010 23:33:13 +0000
(15:33 -0800)
committer
Eric Anholt
<eric@anholt.net>
Mon, 6 Dec 2010 08:14:23 +0000
(
00:14
-0800)
We were accidentally doing a float-to-uint conversion.
src/mesa/drivers/dri/i965/brw_eu_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_eu_emit.c
b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index 8782f726398641d7f885270fbf8c2acf3a5b4b34..ef634e00ba4c6a97087e8a7710fe899c0b40bbf7 100644
(file)
--- 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);