mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-08 08:08:25 +02:00
nvc0: fix emit_dfdx,dfdy
This commit is contained in:
parent
bb2c8e7099
commit
3f1361e060
1 changed files with 2 additions and 0 deletions
|
|
@ -479,6 +479,7 @@ emit_ddx(struct nv_pc *pc, struct nv_instruction *i)
|
|||
{
|
||||
i->quadop = 0x99;
|
||||
i->lanes = 4;
|
||||
i->src[1] = i->src[0];
|
||||
emit_quadop(pc, i);
|
||||
}
|
||||
|
||||
|
|
@ -487,6 +488,7 @@ emit_ddy(struct nv_pc *pc, struct nv_instruction *i)
|
|||
{
|
||||
i->quadop = 0xa5;
|
||||
i->lanes = 5;
|
||||
i->src[1] = i->src[0];
|
||||
emit_quadop(pc, i);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue