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