gallivm/nir: add imod support
authorDave Airlie <airlied@redhat.com>
Fri, 19 Jun 2020 07:07:31 +0000 (17:07 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 19 Aug 2020 00:16:24 +0000 (10:16 +1000)
commitda4f2215aac827b9e60ea7699d9fd95e1e16a373
treea175f70b7dac27aedfea8ef75d1e913075d54c8a
parent407fa329a4b576d5747662f2caeb752cb44ade6d
gallivm/nir: add imod support

Just adds support for the imod instruction

Fixes:
dEQP-VK.glsl.operator.binary_operator.mod.*

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6339>
src/gallium/auxiliary/gallivm/lp_bld_nir.c