projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf0c0a7
)
mesa: add switch case for ir_txf_ms to silence warning
author
Brian Paul
<brianp@vmware.com>
Sat, 2 Mar 2013 00:36:24 +0000
(17:36 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 2 Mar 2013 12:52:28 +0000
(
05:52
-0700)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/program/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/program/ir_to_mesa.cpp
b/src/mesa/program/ir_to_mesa.cpp
index 543232325702f09cc3652cd46fe77c4587f0d663..486cf4639cef4fa901dfe7ca9a0b492ce696a199 100644
(file)
--- a/
src/mesa/program/ir_to_mesa.cpp
+++ b/
src/mesa/program/ir_to_mesa.cpp
@@
-2045,6
+2045,9
@@
ir_to_mesa_visitor::visit(ir_texture *ir)
ir->lod_info.grad.dPdy->accept(this);
dy = this->result;
break;
+ case ir_txf_ms:
+ assert(!"Unexpected ir_txf_ms opcode");
+ break;
}
const glsl_type *sampler_type = ir->sampler->type;