diff options
author | Brian Paul <[email protected]> | 2013-03-29 17:21:33 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-03-29 17:21:33 -0600 |
commit | c34bbe110d1e562b1594a9a4f2e83a2ab5630036 (patch) | |
tree | 3db2513fb37c098472f6a444214684af4123cd39 /src/mesa/state_tracker | |
parent | e0131196caad52a33e460775fa537fd57a8b29e5 (diff) |
st/mesa: add ir_lod case in GLSL->TGSI code to silence warning
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 e728f797a15..338c652cb6a 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -2774,6 +2774,9 @@ glsl_to_tgsi_visitor::visit(ir_texture *ir) case ir_txf_ms: assert(!"Unexpected ir_txf_ms opcode"); break; + case ir_lod: + assert(!"Unexpected ir_lod opcode"); + break; } if (ir->projector) { |