diff options
author | Dave Airlie <[email protected]> | 2018-02-26 11:05:45 +1000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2018-03-20 16:57:24 +0000 |
commit | 10d6f10a2e739964ffedb85c246b7b11269641ab (patch) | |
tree | 56e68a5e61bddefe49f02cfaedd342c9c2913343 /src | |
parent | 32add84fced002dad7cdccb9fc042574f1ea31aa (diff) |
r600: fix tgsi clock last setting
On cayman this was hitting an assert later, which probably wasn't
see on non-cayman due to having the t slot.
Fixes: 9041730d1 (r600: add support for ARB_shader_clock.)
(cherry picked from commit 0cc5be7741aa77bd65046d627370c18839e0da25)
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 614cd0d0366..71bce158a4c 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -10214,6 +10214,7 @@ static int tgsi_clock(struct r600_shader_ctx *ctx) alu.op = ALU_OP1_MOV; tgsi_dst(ctx, &inst->Dst[0], 1, &alu.dst); alu.src[0].sel = EG_V_SQ_ALU_SRC_TIME_HI; + alu.last = 1; r = r600_bytecode_add_alu(ctx->bc, &alu); if (r) return r; |