st/glsl_to_tgsi: fix compilation warnings since int64 types
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 24 Jan 2017 10:50:08 +0000 (11:50 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 24 Jan 2017 11:45:39 +0000 (12:45 +0100)
commit0054dded035ddca074aaec74dac7fe5790df94d1
treeb1b49ecbf80939a629de4852807c9a949a8787d8
parentd90d37db735359cc85e3b0a2ceb6a8d0cbd3ec73
st/glsl_to_tgsi: fix compilation warnings since int64 types

state_tracker/st_glsl_to_tgsi.cpp:302:28: warning: ‘glsl_to_tgsi_instruction::tex_type’
is too small to hold all values of ‘enum glsl_base_type’
    glsl_base_type tex_type:4;

Fixes: 8ce53d4a2f3 ("glsl: Add basic ARB_gpu_shader_int64 types")
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