projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eada94
)
i965: Use W-typed immediate in brw_F32TO16().
author
Matt Turner
<mattst88@gmail.com>
Sun, 20 Nov 2016 08:10:54 +0000
(
00:10
-0800)
committer
Matt Turner
<mattst88@gmail.com>
Fri, 20 Jan 2017 19:40:52 +0000
(11:40 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
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 a784b78cb55501f56f187a2572394c9e091f3f81..67094670aa106c6081280c5d411251c7056eceb1 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/
src/mesa/drivers/dri/i965/brw_eu_emit.c
@@
-1211,7
+1211,7
@@
brw_F32TO16(struct brw_codegen *p, struct brw_reg dst, struct brw_reg src)
if (needs_zero_fill) {
brw_inst_set_no_dd_clear(devinfo, inst, true);
- inst = brw_MOV(p, suboffset(dst, 1), brw_imm_
ud(0u
));
+ inst = brw_MOV(p, suboffset(dst, 1), brw_imm_
w(0
));
brw_inst_set_no_dd_check(devinfo, inst, true);
}