[Mesa-dev] GLSLstd450NMin/NMax/NClamp
Brian Paul
brianp at vmware.com
Wed Nov 18 21:05:50 UTC 2020
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 one argument is NaN, the
>>> other argument is returned. From our testing, it looks like NMax works
>>> as expected, but not NMin or NClamp.
>>
>> Do you have some specific test cases that fail?
>
> Yeah, but they come from WHCK and I don't have a small test case.
>
> I'll try your patch series and see what happens.
>
> -Brian
I'm using your patch and I'm also making use of
VK_KHR_shader_float_control but neither has helped. Though, the later
does help with some issues in Nvidia.
-Brian
More information about the mesa-dev
mailing list