Make the default version be 100.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@20509 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
46eaf4939e
commit
38c507e75a
@ -250,7 +250,7 @@ bool CompileFile(char *fileName, ShHandle compiler, int debugOptions, const TBui
|
|||||||
for (int i = 0; i < 1000; ++i) {
|
for (int i = 0; i < 1000; ++i) {
|
||||||
for (int j = 0; j < 100; ++j)
|
for (int j = 0; j < 100; ++j)
|
||||||
#endif
|
#endif
|
||||||
ret = ShCompile(compiler, data, OutputMultipleStrings, EShOptNone, resources, debugOptions);
|
ret = ShCompile(compiler, data, OutputMultipleStrings, EShOptNone, resources, debugOptions, 100);
|
||||||
#ifdef MEASURE_MEMORY
|
#ifdef MEASURE_MEMORY
|
||||||
|
|
||||||
GetProcessMemoryInfo(GetCurrentProcess(), &counters, sizeof(counters));
|
GetProcessMemoryInfo(GetCurrentProcess(), &counters, sizeof(counters));
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#version 110
|
||||||
|
|
||||||
#define ON
|
#define ON
|
||||||
|
|
||||||
float sum = 0.0;
|
float sum = 0.0;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#version 110
|
||||||
|
|
||||||
#define ON
|
#define ON
|
||||||
|
|
||||||
float sum = 0.0;
|
float sum = 0.0;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#version 110
|
||||||
|
|
||||||
#define ON
|
#define ON
|
||||||
|
|
||||||
float sum = 0.0;
|
float sum = 0.0;
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
//ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
//ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
//POSSIBILITY OF SUCH DAMAGE.
|
//POSSIBILITY OF SUCH DAMAGE.
|
||||||
//
|
//
|
||||||
|
#version 110
|
||||||
|
|
||||||
varying vec3 color;
|
varying vec3 color;
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
//ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
//ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
//POSSIBILITY OF SUCH DAMAGE.
|
//POSSIBILITY OF SUCH DAMAGE.
|
||||||
//
|
//
|
||||||
|
#version 110
|
||||||
|
|
||||||
varying vec3 color;
|
varying vec3 color;
|
||||||
|
|
||||||
|
@ -77,6 +77,9 @@ void TParseContext::setVersion(int newVersion)
|
|||||||
defaultPrecision[EbtSampler2D] = EpqLow;
|
defaultPrecision[EbtSampler2D] = EpqLow;
|
||||||
defaultPrecision[EbtSamplerCube] = EpqLow;
|
defaultPrecision[EbtSamplerCube] = EpqLow;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
for (int type = 0; type < EbtNumTypes; ++type)
|
||||||
|
defaultPrecision[type] = EpqNone;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user