nir: add glsl_channel_type() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 19 Sep 2017 23:49:57 +0000 (09:49 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 15 Oct 2017 22:06:53 +0000 (09:06 +1100)
commit3b59f5ca170a5459e2f7cd5a0d0142f6e15dde3c
tree9f92a41fb296910f536b57b7fadc874398fb61c1
parent421c1b9bd63f3bb9bdbe02cc9b361832d1007f5a
nir: add glsl_channel_type() helper

Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/nir_types.cpp
src/compiler/nir_types.h