mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
nv40: apply ABS modifier to RSQ source in vp
Gallium used to do this for us :)
This commit is contained in:
parent
300e42d6f0
commit
10e0129dbc
1 changed files with 1 additions and 1 deletions
|
|
@ -571,7 +571,7 @@ nv40_vertprog_parse_instruction(struct nv40_vpc *vpc,
|
|||
case TGSI_OPCODE_RET:
|
||||
break;
|
||||
case TGSI_OPCODE_RSQ:
|
||||
arith(vpc, 1, OP_RSQ, dst, mask, none, none, src[0]);
|
||||
arith(vpc, 1, OP_RSQ, dst, mask, none, none, abs(src[0]));
|
||||
break;
|
||||
case TGSI_OPCODE_SGE:
|
||||
arith(vpc, 0, OP_SGE, dst, mask, src[0], src[1], none);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue