nv50/ir/nir: run some passes to make the conversion easier
authorKarol Herbst <kherbst@redhat.com>
Sun, 10 Dec 2017 19:39:23 +0000 (20:39 +0100)
committerKarol Herbst <kherbst@redhat.com>
Sun, 17 Mar 2019 09:33:28 +0000 (10:33 +0100)
commit9298664a5f8e81af6f7cd8bc1493c6d5a6b4ddb4
tree656fd394dcb54ab3f73b57dc8faf2915fb30fe3a
parent78c5336ca9b37e59ecb3d8f44c988dc87d595b9b
nv50/ir/nir: run some passes to make the conversion easier

v2: add constant_folding
v6: print non final NIR only for verbose debugging
v8: add passes we will need for OpenCL compute shaders
v9: move type_size into anonymous namespace
    convert to C++ style comments
    lower bools to int32

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