Re: [Mesa-dev] [PATCH] draw: fix clip test with NaNs

2015-12-17 Thread Roland Scheidegger
Am 17.12.2015 um 20:22 schrieb Matt Turner: > On Thu, Dec 17, 2015 at 11:19 AM, Roland Scheidegger > wrote: >> Am 17.12.2015 um 19:13 schrieb Brian Paul: >>> On 12/17/2015 09:58 AM, srol...@vmware.com wrote: From: Roland Scheidegger NaNs mean it should be clipped, otherwise the Na

Re: [Mesa-dev] [PATCH] draw: fix clip test with NaNs

2015-12-17 Thread Matt Turner
On Thu, Dec 17, 2015 at 11:19 AM, Roland Scheidegger wrote: > Am 17.12.2015 um 19:13 schrieb Brian Paul: >> On 12/17/2015 09:58 AM, srol...@vmware.com wrote: >>> From: Roland Scheidegger >>> >>> NaNs mean it should be clipped, otherwise the NaNs might get passed to >>> the >>> next stages (if cli

Re: [Mesa-dev] [PATCH] draw: fix clip test with NaNs

2015-12-17 Thread Roland Scheidegger
Am 17.12.2015 um 19:13 schrieb Brian Paul: > On 12/17/2015 09:58 AM, srol...@vmware.com wrote: >> From: Roland Scheidegger >> >> NaNs mean it should be clipped, otherwise the NaNs might get passed to >> the >> next stages (if clipping didn't happen for another reason already), which >> might cause

Re: [Mesa-dev] [PATCH] draw: fix clip test with NaNs

2015-12-17 Thread Brian Paul
On 12/17/2015 09:58 AM, srol...@vmware.com wrote: From: Roland Scheidegger NaNs mean it should be clipped, otherwise the NaNs might get passed to the next stages (if clipping didn't happen for another reason already), which might cause all kind of problems. The llvm path got this right already

[Mesa-dev] [PATCH] draw: fix clip test with NaNs

2015-12-17 Thread sroland
From: Roland Scheidegger NaNs mean it should be clipped, otherwise the NaNs might get passed to the next stages (if clipping didn't happen for another reason already), which might cause all kind of problems. The llvm path got this right already (possibly by luck), but this isn't used when there's