Commit 38c507e7 by John Kessenich

Make the default version be 100.

parent 46eaf493
......@@ -250,7 +250,7 @@ bool CompileFile(char *fileName, ShHandle compiler, int debugOptions, const TBui
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));
......
#version 110
#define ON
float sum = 0.0;
......
#version 110
#define ON
float sum = 0.0;
......
#version 110
#define ON
float sum = 0.0;
......
......@@ -31,6 +31,7 @@
//ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
//POSSIBILITY OF SUCH DAMAGE.
//
#version 110
varying vec3 color;
......
......@@ -31,6 +31,7 @@
//ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
//POSSIBILITY OF SUCH DAMAGE.
//
#version 110
varying vec3 color;
......
......@@ -77,7 +77,10 @@ void TParseContext::setVersion(int newVersion)
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment