X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fglsl%2Foptimize.h;fp=source%2Fglsl%2Foptimize.h;h=9b7b7affecf58035f19c2457cbd08c8c4adddf3d;hb=190a7e11237351f6b730c28f7b16f183e8adc69c;hp=d9fc2d6a7a074367262dc890967ac632b9d22682;hpb=be6ffe96ecb4707599fe1a6f620c348760213d46;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: