st/glsl_to_tgsi: use enum glsl_base_type instead of unsigned
authorDave Airlie <airlied@redhat.com>
Wed, 8 Jun 2016 20:48:33 +0000 (06:48 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 8 Jun 2016 21:37:49 +0000 (07:37 +1000)
commitbbbc45b8e1b3c59f1a2e66787693f58a1c3352cb
tree9e42991dec649d37d8c9bc61ae412504c980397c
parent152f5eea621c2c6bb50b82d703b4816263c7f294
st/glsl_to_tgsi: use enum glsl_base_type instead of unsigned

This is just some better type safety that I noticed while working
on 64-bit integer support.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp