Re: [Mesa-dev] [PATCH] nvc0/ir: fix subops for IMAD

2016-09-15 Thread Samuel Pitoiset
On 09/15/2016 06:08 PM, Ilia Mirkin wrote: On Thu, Sep 15, 2016 at 12:07 PM, Samuel Pitoiset wrote: Offset was wrong, it's at bit 8, not 4. Also, uses subr instead of sub when src2 has neg. Similar to GK110 now. Signed-off-by: Samuel Pitoiset Cc: mesa-sta...@lists.freedesktop.org --- src/g

Re: [Mesa-dev] [PATCH] nvc0/ir: fix subops for IMAD

2016-09-15 Thread Ilia Mirkin
On Thu, Sep 15, 2016 at 12:07 PM, Samuel Pitoiset wrote: > Offset was wrong, it's at bit 8, not 4. Also, uses subr instead > of sub when src2 has neg. Similar to GK110 now. > > Signed-off-by: Samuel Pitoiset > Cc: mesa-sta...@lists.freedesktop.org > --- > src/gallium/drivers/nouveau/codegen/nv50

[Mesa-dev] [PATCH] nvc0/ir: fix subops for IMAD

2016-09-15 Thread Samuel Pitoiset
Offset was wrong, it's at bit 8, not 4. Also, uses subr instead of sub when src2 has neg. Similar to GK110 now. Signed-off-by: Samuel Pitoiset Cc: mesa-sta...@lists.freedesktop.org --- src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp | 10 ++ 1 file changed, 6 insertions(+), 4 d