nir: Add some more consts to the nir_format_convert.h helpers.
authorEric Anholt <eric@anholt.net>
Tue, 11 Dec 2018 21:40:54 +0000 (13:40 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 13 Dec 2018 00:09:37 +0000 (16:09 -0800)
commit19c7cba2ab7d50908a0c6d39e90f78e4d1981618
treef4ea4540c712b35d71af856f4dfa31f0ee11e241
parent9e6b39e1d521aa723749a47d958d58900bf25138
nir: Add some more consts to the nir_format_convert.h helpers.

Most of the bits were constant, but a few were missed.  Avoids warnings
from v3d's upcoming static const bits declarations.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_format_convert.h