nv50/ir/nir: add nir type helper functions
authorKarol Herbst <kherbst@redhat.com>
Mon, 18 Dec 2017 02:57:06 +0000 (03:57 +0100)
committerKarol Herbst <kherbst@redhat.com>
Sun, 17 Mar 2019 09:33:28 +0000 (10:33 +0100)
commitccc4de0bdd0dd0e9118042084bc58bf50466911a
tree1d55935d150c435cbd6d5bcfad81f3e8a8bb0da6
parent7481abcd0ca41e0d801f2efd4b088a23e6a56892
nv50/ir/nir: add nir type helper functions

v4: treat imul as unsigned
v5: remove pointless !!
v7: inot is unsigned as well
v8: don't require C++11 features
v9: convert to C++ style comments
    improve formatting
    print error in all cases where codegen doesn't support a given type

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Acked-by: Pierre Moreau <pierre.morrow@free.fr>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp