Re: [Mesa-dev] [PATCH v2 34/52] st/nine: Implement TEXCOORD special behaviours

2015-01-10 Thread Ilia Mirkin
On Sat, Jan 10, 2015 at 5:44 AM, Axel Davy axel.d...@ens.fr wrote: texcoord for ps 1_4 should clamp between 0 and 1 the values. texcrd (texcoord ps 1_4) does not clamp and can be used with two modifiers _dw and _dz that means the channels are divided by w or z. Implement those in shared

[Mesa-dev] [PATCH v2 34/52] st/nine: Implement TEXCOORD special behaviours

2015-01-10 Thread Axel Davy
texcoord for ps 1_4 should clamp between 0 and 1 the values. texcrd (texcoord ps 1_4) does not clamp and can be used with two modifiers _dw and _dz that means the channels are divided by w or z. Implement those in shared code, since the same modifiers can be used for texld ps 1_4.