Re: [Freedreno] [PATCH 2/2] freedreno/ir3: add a pass to lower tg4 to txl, enable gather on a4xx

2017-11-20 Thread Rob Clark
On Sun, Nov 19, 2017 at 2:54 PM, Ilia Mirkin wrote: > Unfortunately Adreno A4xx hardware returns incorrect results with the > GATHER4 opcodes. As a result, we have to lower to 4 individual texture > calls (txl since we have to force lod to 0). We achieve this using >

[Freedreno] [PATCH 2/2] freedreno/ir3: add a pass to lower tg4 to txl, enable gather on a4xx

2017-11-19 Thread Ilia Mirkin
Unfortunately Adreno A4xx hardware returns incorrect results with the GATHER4 opcodes. As a result, we have to lower to 4 individual texture calls (txl since we have to force lod to 0). We achieve this using offsets, including on cube maps which normally never have offsets. Signed-off-by: Ilia