[Mesa-dev] GLSLstd450NMin/NMax/NClamp
Oliveira, Caio
caio.oliveira at intel.com
Tue Nov 17 17:44:57 UTC 2020
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-bounces at lists.freedesktop.org> on behalf of Brian Paul <brianp at vmware.com>
Sent: Tuesday, November 17, 2020 9:25:01 AM
To: mesa-dev at 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 at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list