nir: Add a helper to get the uvec4 type.
authorEric Anholt <eric@anholt.net>
Thu, 28 Dec 2017 23:12:20 +0000 (15:12 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 3 Jan 2018 22:25:23 +0000 (14:25 -0800)
commitdeb552ca276813a243dd68ea335ab40d4b93afc0
tree3cf4c9d40fe3bba776a82cd4c3949e3e042de711
parent39811a2894743bf7e2f9818a0a1d14b6566116ee
nir: Add a helper to get the uvec4 type.

I needed this in the vc5 compiler.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir_types.cpp
src/compiler/nir_types.h