Re: [Mesa-dev] GLSLstd450NMin/NMax/NClamp

2020-11-18 Thread Brian Paul
On 11/17/2020 01:59 PM, Brian Paul wrote: On 11/17/2020 11:45 AM, Ian Romanick wrote: On 11/17/20 9:25 AM, Brian Paul wrote: It appears these SPIR-V extension functions don't behave as they should on Intel (don't know about other Vulkan drivers). They're supposed to be NaN-aware such that if

Re: [Mesa-dev] GLSLstd450NMin/NMax/NClamp

2020-11-17 Thread Brian Paul
On 11/17/2020 11:45 AM, Ian Romanick wrote: On 11/17/20 9:25 AM, Brian Paul wrote: It appears these SPIR-V extension functions don't behave as they should on Intel (don't know about other Vulkan drivers). They're supposed to be NaN-aware such that if one argument is NaN, the other argument is

Re: [Mesa-dev] GLSLstd450NMin/NMax/NClamp

2020-11-17 Thread Ian Romanick
On 11/17/20 9:25 AM, Brian Paul wrote: > > It appears these SPIR-V extension functions don't behave as they should > on Intel (don't know about other Vulkan drivers). > > They're supposed to be NaN-aware such that if one argument is NaN, the > other argument is returned.  From our testing, it loo

Re: [Mesa-dev] GLSLstd450NMin/NMax/NClamp

2020-11-17 Thread Oliveira, Caio
Brian, There are some NaN related fixes by Ian soon to be merged in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6358. Could you check if the MR helps this and the Select issue? Thanks, Caio From: mesa-dev on behalf of Brian Paul Sent: T