Home
last modified time | relevance | path

Searched refs:kLoopTerminationLimit (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/src/sksl/analysis/
DSkSLGetLoopUnrollInfo.cpp25 static constexpr int kLoopTerminationLimit = 100000; variable
34 return kLoopTerminationLimit; in calculate_count()
41 if (count > kLoopTerminationLimit || !std::isfinite(count)) { in calculate_count()
43 return kLoopTerminationLimit; in calculate_count()
207 loopInfo.fCount = kLoopTerminationLimit; in get_es2_loop_unroll_info()
219 loopInfo.fCount = kLoopTerminationLimit; in get_es2_loop_unroll_info()
231 if (loopInfo.fCount >= kLoopTerminationLimit) { in get_es2_loop_unroll_info()
/third_party/skia/resources/sksl/runtime_errors/
DLoopStructureErrors.rts3 void loop_length_128() { for (int i = 0; i < 128; i++) {} } // OK, under kLoopTerminationLimit
4 void loop_length_129() { for (int i = 0; i < 129; i++) {} } // OK, under kLoopTerminationLimit
5 void loop_length_99999() { for (int i = 0; i < 99999; i++) {} } // OK, under kLoopTerminationLimit