vtn/opencl: native variants of sin/cos
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 29 Apr 2020 16:23:11 +0000 (18:23 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 4 May 2020 11:31:29 +0000 (11:31 +0000)
commitbce8a86b652981db3684da943c6cbb3fd7d7f1ae
tree4417c410225df38c24e73dc7a343800699b8f53d
parentf76b379a9a68dd71e39a6ca270107384a64f67cd
vtn/opencl: native variants of sin/cos

These obviously map directly to nir opcodes.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-By: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4811>
src/compiler/spirv/vtn_opencl.c