glsl_to_tgsi: don't use a potentially-undefined immediate for ir_query_levels
authorMarek Olšák <marek.olsak@amd.com>
Sat, 11 Apr 2015 12:55:26 +0000 (14:55 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 16 Apr 2015 16:36:29 +0000 (18:36 +0200)
commitdcc74d47c40bf117f2dfaa359f9de7faef2c2200
tree0945ce4ddca18860bc3ffaa426e30c6d7a670215
parent14c5bc3b9a6b03a8e42ef79da66d8b81b239cf96
glsl_to_tgsi: don't use a potentially-undefined immediate for ir_query_levels

Cc: 10.4 10.5 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp