mesa/mesa-9.0.1-less-cxx-please.patch

13 lines
569 B
Diff
Raw Normal View History

2013-03-05 18:52:01 +00:00
diff -up Mesa-9.0.3/src/gallium/drivers/nv50/codegen/nv50_ir.cpp.jx Mesa-9.0.3/src/gallium/drivers/nv50/codegen/nv50_ir.cpp
--- Mesa-9.0.3/src/gallium/drivers/nv50/codegen/nv50_ir.cpp.jx 2013-02-17 14:28:36.000000000 -0500
+++ Mesa-9.0.3/src/gallium/drivers/nv50/codegen/nv50_ir.cpp 2013-03-05 09:27:35.140943844 -0500
@@ -715,7 +715,7 @@ Instruction::clone(ClonePolicy<Function>
{
if (!i)
i = new_Instruction(pol.context(), op, dType);
2013-03-05 18:52:01 +00:00
-#ifndef NDEBUG // non-conformant assert, so this is required
+#if 0
assert(typeid(*i) == typeid(*this));
2013-03-05 18:52:01 +00:00
#endif