st/glsl_to_tgsi: use glsl_type::sampler_index()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 29 Mar 2017 22:28:24 +0000 (00:28 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 30 Mar 2017 11:15:34 +0000 (13:15 +0200)
commite7850bb7f0ff2e33b86f4e2a431d154a3933ff08
tree0fdb9ac639a5a80e6d3d08ad338d3cf31b5f7b92
parent784d3a70669e57a469614ff4c60339f770a5152a
st/glsl_to_tgsi: use glsl_type::sampler_index()

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp