mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
r600g: fix regression since UCMP change
Sinced8da6deceawhere the state tracker started using UCMP on cayman a number of tests regressed. this seems to be r600g is doing CNDGE_INT for UCMP which is >= 0, we should be doing CNDE_INT with reverse arguments. Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit0d4272cd8e)
This commit is contained in:
parent
91c5770ba1
commit
099ed78a04
1 changed files with 1 additions and 1 deletions
|
|
@ -6071,7 +6071,7 @@ static int tgsi_ucmp(struct r600_shader_ctx *ctx)
|
|||
continue;
|
||||
|
||||
memset(&alu, 0, sizeof(struct r600_bytecode_alu));
|
||||
alu.op = ALU_OP3_CNDGE_INT;
|
||||
alu.op = ALU_OP3_CNDE_INT;
|
||||
r600_bytecode_src(&alu.src[0], &ctx->src[0], i);
|
||||
r600_bytecode_src(&alu.src[1], &ctx->src[2], i);
|
||||
r600_bytecode_src(&alu.src[2], &ctx->src[1], i);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue