i965: disable using immediate values for MOV instructions

For some reason, MOV instructions using immediate src values don't seem
to work reliably on the GLSL path.  Disable them for now (falling back to
const buffer reads).  This fixes a bunch of glean glsl1 failures.
This commit is contained in:
Brian Paul 2009-04-16 11:08:12 -06:00
parent a25632d890
commit 33b865f70d

View file

@ -527,7 +527,9 @@ static void emit_mov( struct brw_wm_compile *c,
if (mask & (1<<i)) {
struct brw_reg src, dst;
dst = get_dst_reg(c, inst, i);
src = get_src_reg_imm(c, inst, 0, i);
/* XXX some moves from immediate value don't work reliably!!! */
/*src = get_src_reg_imm(c, inst, 0, i);*/
src = get_src_reg(c, inst, 0, i);
brw_MOV(p, dst, src);
}
}