On Friday, September 18, 2015 12:24:37 PM Rob Clark wrote:
> On Fri, Sep 18, 2015 at 11:55 AM, Kenneth Graunke
> wrote:
> > On Friday, September 18, 2015 10:55:08 AM Rob Clark wrote:
> >> From: Rob Clark
> >>
> >> Some hardware needs to clamp texture coordinates to [0.0, 1.0] in the
> >> shader
On Fri, Sep 18, 2015 at 11:55 AM, Kenneth Graunke wrote:
> On Friday, September 18, 2015 10:55:08 AM Rob Clark wrote:
>> From: Rob Clark
>>
>> Some hardware needs to clamp texture coordinates to [0.0, 1.0] in the
>> shader to emulate GL_CLAMP. This is added to lower_tex_proj since, in
>> the cas
On Friday, September 18, 2015 10:55:08 AM Rob Clark wrote:
> From: Rob Clark
>
> Some hardware needs to clamp texture coordinates to [0.0, 1.0] in the
> shader to emulate GL_CLAMP. This is added to lower_tex_proj since, in
> the case of projected coords, the clamping needs to happen *after*
> pr
From: Rob Clark
Some hardware needs to clamp texture coordinates to [0.0, 1.0] in the
shader to emulate GL_CLAMP. This is added to lower_tex_proj since, in
the case of projected coords, the clamping needs to happen *after*
projection.
v2: comments/suggestions from Ilia and Eric, use txs to get
From: Rob Clark
Some hardware needs to clamp texture coordinates to [0.0, 1.0] in the
shader to emulate GL_CLAMP. This is added to lower_tex_proj since, in
the case of projected coords, the clamping needs to happen *after*
projection.
Signed-off-by: Rob Clark
---
src/glsl/nir/nir.h