Re: [Piglit] [PATCH] teximage-colors: accept -127 instead of -128 for exact snorm up/download

2018-01-11 Thread Brian Paul
On 01/11/2018 02:45 PM, Roland Scheidegger wrote: ping? Am 08.01.2018 um 01:20 schrieb srol...@vmware.com: From: Roland Scheidegger -128 and -127 represent exactly the same value (-1.0) for snorm8 values, as do -32768/-32767 for snorm16. Therefore it seems quite

Re: [Piglit] [PATCH] teximage-colors: accept -127 instead of -128 for exact snorm up/download

2018-01-11 Thread Roland Scheidegger
ping? Am 08.01.2018 um 01:20 schrieb srol...@vmware.com: > From: Roland Scheidegger > > -128 and -127 represent exactly the same value (-1.0) for snorm8 values, > as do -32768/-32767 for snorm16. Therefore it seems quite reasonable that an > implementation would return the

[Piglit] [PATCH] teximage-colors: accept -127 instead of -128 for exact snorm up/download

2018-01-07 Thread sroland
From: Roland Scheidegger -128 and -127 represent exactly the same value (-1.0) for snorm8 values, as do -32768/-32767 for snorm16. Therefore it seems quite reasonable that an implementation would return the other representation (in particular r600 will do this with a blit,