Re: [Mesa-dev] [PATCH 2/3] gallium: add texture gather support to gallium (v3)

2014-02-24 Thread Roland Scheidegger
Am 24.02.2014 09:33, schrieb Dave Airlie: > On Wed, Feb 12, 2014 at 9:10 AM, Roland Scheidegger > wrote: >> Am 11.02.2014 22:58, schrieb Dave Airlie: >dst.z = texture_depth(unit, lod) > > +.. opcode:: TG4 - Texture Gather (as per ARB_texture_gather) > + Gathers t

Re: [Mesa-dev] [PATCH 2/3] gallium: add texture gather support to gallium (v3)

2014-02-24 Thread Dave Airlie
On Wed, Feb 12, 2014 at 9:10 AM, Roland Scheidegger wrote: > Am 11.02.2014 22:58, schrieb Dave Airlie: dst.z = texture_depth(unit, lod) +.. opcode:: TG4 - Texture Gather (as per ARB_texture_gather) + Gathers the four texels to be used in a bi-linear +

Re: [Mesa-dev] [PATCH 2/3] gallium: add texture gather support to gallium (v3)

2014-02-11 Thread Roland Scheidegger
Am 11.02.2014 22:58, schrieb Dave Airlie: >>>dst.z = texture_depth(unit, lod) >>> >>> +.. opcode:: TG4 - Texture Gather (as per ARB_texture_gather) >>> + Gathers the four texels to be used in a bi-linear >>> + filtering operation and packs them into a single register

Re: [Mesa-dev] [PATCH 2/3] gallium: add texture gather support to gallium (v3)

2014-02-11 Thread Dave Airlie
>>dst.z = texture_depth(unit, lod) >> >> +.. opcode:: TG4 - Texture Gather (as per ARB_texture_gather) >> + Gathers the four texels to be used in a bi-linear >> + filtering operation and packs them into a single register. >> + Only works with 2D, 2D arr

Re: [Mesa-dev] [PATCH 2/3] gallium: add texture gather support to gallium (v3)

2014-02-11 Thread Roland Scheidegger
Am 11.02.2014 02:43, schrieb Dave Airlie: > From: Dave Airlie > > This adds support to gallium for a TG4 instruction, > and two CAPs. The first CAP is required for GL_ARB_texture_gather. > > The second CAP is required to expose GL_ARB_gpu_shader5. > > However so far we haven't found any hardwar

[Mesa-dev] [PATCH 2/3] gallium: add texture gather support to gallium (v3)

2014-02-10 Thread Dave Airlie
From: Dave Airlie This adds support to gallium for a TG4 instruction, and two CAPs. The first CAP is required for GL_ARB_texture_gather. The second CAP is required to expose GL_ARB_gpu_shader5. However so far we haven't found any hardware that natively exposes the textureGatherOffsets feature f