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 <mesa-dev-boun...@lists.freedesktop.org> on behalf of Brian Paul <bri...@vmware.com> Sent: Tuesday, November 17, 2020 9:25:01 AM To: mesa-dev@lists.freedesktop.org Subject: [Mesa-dev] GLSLstd450NMin/NMax/NClamp 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. Looking at the SPIR-V/nir/intel code it's hard to tell what's going on and whether these semantics are actually being followed. Any comments? -Brian _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev