X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Foptimize.h;h=9b7b7affecf58035f19c2457cbd08c8c4adddf3d;hb=241cf36a6d7735706804bb3c517529bbe078f1ee;hp=d9fc2d6a7a074367262dc890967ac632b9d22682;hpb=c43203c52410ee8a734e775e7ee7368a12f82ff7;p=libs%2Fgl.git diff --git a/source/glsl/optimize.h b/source/glsl/optimize.h index d9fc2d6a..9b7b7aff 100644 --- a/source/glsl/optimize.h +++ b/source/glsl/optimize.h @@ -276,6 +276,7 @@ private: virtual void visit(Iteration &); }; +/** Removes code which is never executed due to flow control statements. */ class UnreachableCodeRemover: private TraversingVisitor { private: