spirv: Add support for the CL Round instruction
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 28 Jul 2020 06:42:53 +0000 (08:42 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 18 Aug 2020 15:09:47 +0000 (17:09 +0200)
commit165009bc7021a0f2310222959cbb41e74b7de8d3
treeeaadac5c5558da56fd0797abc9ef6e23f480d139
parent6d28270968e0728bf8bdf48a6abd261c50d9ef07
spirv: Add support for the CL Round instruction

Add a round() implementation that's conformant with the CL spec.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6256>
src/compiler/spirv/vtn_opencl.c