diff options
author | Dave Airlie <[email protected]> | 2018-03-01 03:38:32 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-03-02 00:33:18 +0000 |
commit | bf2af063c3ac1ef7b948ddfb203aea04f857fc0f (patch) | |
tree | 6e6b03bfe82601c6af39a0db171b5dedda523de0 /src/gallium/drivers/r600 | |
parent | cee9f3890351e24cfaa000f32fef10367c45fe64 (diff) |
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: <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 46eeb9021f5..4b44f661419 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -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; } |