projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e013119
)
st/mesa: add ir_lod case in GLSL->TGSI code to silence warning
author
Brian Paul
<brianp@vmware.com>
Fri, 29 Mar 2013 23:21:33 +0000
(17:21 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 29 Mar 2013 23:21:33 +0000
(17:21 -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 e728f797a1572d4473a594f24d44247cdc99ed8e..338c652cb6a95b09c331c62b6431bd6b866d8adc 100644
(file)
--- 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) {