glsl: Skip the rest of loop unrolling if no loops were found.
[mesa.git] / src / glsl / loop_analysis.h
index 7b0511fbbec915e7157c25399b98a5ccb38250f6..229730836a87039f4e805d339eb7f57671f55f56 100644 (file)
@@ -214,6 +214,8 @@ public:
 
    loop_variable_state *insert(ir_loop *ir);
 
+   bool loop_found;
+
 private:
    loop_state();