Commit 6083211d authored by Dave Airlie's avatar Dave Airlie Committed by Emil Velikov

r600/cayman: fix fragcood loading recip generation.

This fixes some hangs seen where the recip_ieee opcodes would
end up split across the wrong slots.

Cc: <>
Signed-off-by: default avatarDave Airlie <>
(cherry picked from commit bf2af063)
parent 6ce732c5
......@@ -3460,7 +3460,7 @@ static int r600_shader_from_tgsi(struct r600_context *rctx,
alu.dst.sel = shader->input[ctx.fragcoord_input].gpr;
alu.dst.chan = j;
alu.dst.write = (j == 3);
alu.last = 1;
alu.last = (j == 3);
if ((r = r600_bytecode_add_alu(ctx.bc, &alu)))
return r;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment