For the first patch, there is some discussion at:
https://lists.freedesktop.org/archives/mesa-dev/2018-April/192317.html
We may have to consider changing the handling of ints/floats as suggested there but as of now it already has one reviewed-by and no doubt it's a bug in the optimization path we're currently hitting.
I tested ge, floor, sign with gbm-surface and the following vertex shaders that insert the according nir op:
For the first patch, there is some discussion at: https://lists.freedesktop.org/archives/mesa-dev/2018-April/192317.html We may have to consider changing the handling of ints/floats as suggested there but as of now it already has one reviewed-by and no doubt it's a bug in the optimization path we're currently hitting.
I tested ge, floor, sign with gbm-surface and the following vertex shaders that insert the according nir op:
ge:
floor:
sign: