diff options
author | Brian Paul <[email protected]> | 2013-10-07 09:08:10 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-10-07 09:08:16 -0600 |
commit | e58dd465f07b36fb68758a22fbd77c4bee3a2a7d (patch) | |
tree | d658ee6ea981eaba9edaf1697e8d8497a6514fa2 /src/mesa/state_tracker | |
parent | 289d928c8e13ad79c9d6e705caf1170986f37ad1 (diff) |
st/mesa: silence warning about unhandled ir_query_levels in switch
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index d1706ca27df..f11305b590a 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -2791,6 +2791,9 @@ glsl_to_tgsi_visitor::visit(ir_texture *ir) case ir_tg4: assert(!"Unexpected ir_tg4 opcode"); break; + case ir_query_levels: + assert(!"Unexpected ir_query_levels opcode"); + break; } if (ir->projector) { |