st/nir: Use nir_src_as_uint for tokens
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 14 Dec 2018 16:56:16 +0000 (10:56 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sun, 16 Dec 2018 21:07:28 +0000 (15:07 -0600)
commitdb197fdb6c2de62ca84270cffea6a7e09b457f2b
tree44ef8a378b32e736e1860827eaded99e5cb2b81e
parent47e1e0692c00bfbf03958a5c1c32a8ee933a6783
st/nir: Use nir_src_as_uint for tokens

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_nir_lower_builtin.c