diff options
author | Chris Forbes <[email protected]> | 2013-09-26 19:37:30 +1200 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2013-10-05 19:16:32 +1300 |
commit | 7a4754d7d961b06652cc940c37c4f87a9111dc2a (patch) | |
tree | 54e3d8cdf02806dc1502babd4e41ec4878ad2d24 /src/mesa/program | |
parent | 6ce4e7672ed4ca2afe47ca5236f3444d4bc83a4e (diff) |
glsl: add plumbing for GL_ARB_texture_query_levels
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/program')
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index f180a7f6486..6b22b507415 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -2069,6 +2069,9 @@ ir_to_mesa_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; } const glsl_type *sampler_type = ir->sampler->type; |