[Mesa-dev] [PATCH 1/2] gallium: add texture gather support to gallium

Dave Airlie airlied at gmail.com
Thu Feb 6 19:37:27 PST 2014


On Fri, Feb 7, 2014 at 12:36 PM, Roland Scheidegger <sroland at vmware.com> wrote:
> Am 07.02.2014 02:56, schrieb Ilia Mirkin:
>> On Thu, Feb 6, 2014 at 8:52 PM, Dave Airlie <airlied at gmail.com> wrote:
>>> From: Dave Airlie <airlied at redhat.com>
>>>
>>> This just adds the TG4 opcode, and a CAP for the
>>> max texture gather components.
>>
>> Is this different from GATHER4? If it is, should probably be
>> documented in docs/source/tgsi.rst...
> I'm pretty sure this is the OGL-equivalent of gather4 (as gather4 is
> d3d10-style, that is separate sampler and resource reg).
> You are quite right though this is definitely missing documentation
> (looking at it I have no idea for instance how the component selection
> is going to work).
>
Doh, yes because GL has ARB_texture_gather then has stuff hidden away
in ARB_gpu_shader5 I forgot to add the extra bits which I suppose we should do.

So I've reposted with the component selection in src1 now.

Dave.


More information about the mesa-dev mailing list