mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
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 commit0cc5be7741)
This commit is contained in:
parent
32add84fce
commit
10d6f10a2e
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue