diff --git a/gles/gles_cs_executor_conv.cpp b/gles/gles_cs_executor_conv.cpp index 42d68b7..1287ebe 100644 --- a/gles/gles_cs_executor_conv.cpp +++ b/gles/gles_cs_executor_conv.cpp @@ -671,9 +671,11 @@ bool convolveTimed(ConvParam& convParam, long& elapsedTime, bool syncPerIter) { - bool res; long t; - + bool res = true; + + if (iter < 1) + return false; // warm up run if (!convolve(convParam, shaderConfig, progMgr)) return false;