OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
289d928
)
st/mesa: silence warning about unhandled ir_query_levels in switch
author
Brian Paul
<brianp@vmware.com>
Mon, 7 Oct 2013 15:08:10 +0000
(09:08 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 7 Oct 2013 15:08:16 +0000
(09:08 -0600)
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index
d1706ca
..
f11305b
100644
(file)
--- 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) {