Re: [Mesa-dev] [PATCH 1/2] tgsi: add PK2H/UP2H support

2016-02-01 Thread Roland Scheidegger
Am 01.02.2016 um 16:36 schrieb Brian Paul: > On 01/30/2016 07:08 PM, srol...@vmware.com wrote: >> From: Ilia Mirkin >> >> The util functions handle the half-float conversion. >> Note that piglit won't like it much due to: >> a) The util functions use magic float mul conversion but when run inside

Re: [Mesa-dev] [PATCH 1/2] tgsi: add PK2H/UP2H support

2016-02-01 Thread Brian Paul
On 01/30/2016 07:08 PM, srol...@vmware.com wrote: From: Ilia Mirkin The util functions handle the half-float conversion. Note that piglit won't like it much due to: a) The util functions use magic float mul conversion but when run inside softpipe/llvmpipe, denorms are flushed to zero, therefore

[Mesa-dev] [PATCH 1/2] tgsi: add PK2H/UP2H support

2016-01-30 Thread sroland
From: Ilia Mirkin The util functions handle the half-float conversion. Note that piglit won't like it much due to: a) The util functions use magic float mul conversion but when run inside softpipe/llvmpipe, denorms are flushed to zero, therefore when the conversion is from/to f16 denorm the resul