X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Foptimize.h;h=ed9f91345f71b405209e3b6a32f7adec0d5ebeb3;hb=3c2397dbb6e45fe72214f71048c4edfe4f11ac73;hp=a714a97a1b45ce49cf78a5c0fd4c69d2a4b6a661;hpb=188b3b2bf686aada8772475aabf899a0420cbd0f;p=libs%2Fgl.git diff --git a/source/glsl/optimize.h b/source/glsl/optimize.h index a714a97a..ed9f9134 100644 --- a/source/glsl/optimize.h +++ b/source/glsl/optimize.h @@ -181,6 +181,8 @@ private: static bool evaluate_relation(const char *, T, T); template static T evaluate_arithmetic(char, T, T); + template + static T evaluate_int_special_op(char, T, T); void set_result(const Variant &, bool = false); virtual void visit(RefPtr &);