glsl_to_tgsi: don't rely on glsl types when visiting tex instructions
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 23 Mar 2017 19:17:50 +0000 (20:17 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 24 Mar 2017 10:12:27 +0000 (11:12 +0100)
commit43f5a2c915e9f0fb7ac048964a3b55909146f8cd
tree25385c2b1773b2fd20add9fbceabb4ae52e5cacf
parent129fd5813190909ad0ce7086e969b69c4807f21e
glsl_to_tgsi: don't rely on glsl types when visiting tex instructions

Instead add is_cube_shadow like is_cube_array.

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