aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2016-11-20 00:10:54 -0800
committerMatt Turner <[email protected]>2017-01-20 11:40:52 -0800
commit68bcbfa9e4259f67139129e8173c1489905db0a9 (patch)
tree3f86bbc1210f67c029c8908d2e77a6359f266a6c /src/mesa/drivers/dri
parent3eada948a05d34fabfcfac69d6c33708cb1cf740 (diff)
i965: Use W-typed immediate in brw_F32TO16().
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_eu_emit.c2
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 a784b78cb55..67094670aa1 100644
--- 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);
}