tgsi: s/unsigned/enum pipe_shader_type/ in ureg code
authorBrian Paul <brianp@vmware.com>
Thu, 8 Feb 2018 01:18:39 +0000 (18:18 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 8 Feb 2018 16:49:03 +0000 (09:49 -0700)
commit0f40f4ffdae7b9cc5b9cb32a9373ab95ebee4383
tree23df73cbcef7750dd3f99094d63cf9740506d88f
parentc0dc337ecd7d785e8693cfcb772f49f856975bf0
tgsi: s/unsigned/enum pipe_shader_type/ in ureg code

And add a default switch case to silence a compiler warning.

Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_ureg.c
src/gallium/auxiliary/tgsi/tgsi_ureg.h