for (int i = 0; i < 1000; ++i) {
for (int j = 0; j < 100; ++j)
#endif
- ret = ShCompile(compiler, data, OutputMultipleStrings, EShOptNone, resources, debugOptions);
+ ret = ShCompile(compiler, data, OutputMultipleStrings, EShOptNone, resources, debugOptions, 100);
#ifdef MEASURE_MEMORY
GetProcessMemoryInfo(GetCurrentProcess(), &counters, sizeof(counters));
defaultPrecision[EbtSampler2D] = EpqLow;
defaultPrecision[EbtSamplerCube] = EpqLow;
}
- }
+ } else {
+ for (int type = 0; type < EbtNumTypes; ++type)
+ defaultPrecision[type] = EpqNone;
+ }
}
// Important assumption: SetVersion() is called before SetProfile(), and is always called