Browse Source

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: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
tags/18.1-branchpoint
Dave Airlie 7 years ago
parent
commit
bf2af063c3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/gallium/drivers/r600/r600_shader.c

+ 1
- 1
src/gallium/drivers/r600/r600_shader.c View File

@@ -3768,7 +3768,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;
}

Loading…
Cancel
Save