mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 10:30:08 +01:00
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:
parent
a25632d890
commit
33b865f70d
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue