X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fglsl%2Fdebug.cpp;h=4de8ac90ad927ed05175923827a25895ab176d71;hb=90c3973fcadf28e25797656154e42dd3d2915144;hp=2bc3a893e099384e16c663cfdfd601e3a945d85d;hpb=ffdb126a55467245da08a9e6f5669f86e1899bb0;p=libs%2Fgl.git diff --git a/source/glsl/debug.cpp b/source/glsl/debug.cpp index 2bc3a893..4de8ac90 100644 --- a/source/glsl/debug.cpp +++ b/source/glsl/debug.cpp @@ -300,6 +300,18 @@ void DumpTree::visit(Iteration &iter) end_sub(); } +void DumpTree::visit(Passthrough &pass) +{ + append("passthrough"); + if(pass.subscript) + { + begin_sub(); + last_branch(); + pass.subscript->visit(*this); + end_sub(); + } +} + void DumpTree::visit(Return &ret) { if(ret.expression)