i965: Use W-typed immediate in brw_F32TO16().

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Matt Turner 2016-11-20 00:10:54 -08:00
parent 3eada948a0
commit 68bcbfa9e4
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}