Drop unecessary shader extensions
This commit is contained in:
parent
bd9a859d61
commit
8bb5486653
1 changed files with 0 additions and 20 deletions
|
|
@ -60,16 +60,6 @@ GLuint createShader(GLint shaderType, const char* shaderText) {
|
|||
// the texture, hence a trivial vertex shader that only supports clockwise
|
||||
// rotation.
|
||||
const char kVertexShaderSource[] =
|
||||
#if WITHOUT_TRANSLATOR_SUPPORT
|
||||
"#version 100\n"
|
||||
"const int _translator_gl_MaxVertexUniformVectors = 256;\n"
|
||||
"const int _translator_gl_MaxFragmentUniformVectors = 256;\n"
|
||||
"const int _translator_gl_MaxVaryingVectors = 15;\n"
|
||||
"#define gl_MaxVertexUniformVectors _translator_gl_MaxVertexUniformVectors\n"
|
||||
"#define gl_MaxFragmentUniformVectors _translator_gl_MaxFragmentUniformVectors\n"
|
||||
"#define gl_MaxVaryingVectors _translator_gl_MaxVaryingVectors\n"
|
||||
"#line 1\n"
|
||||
#endif
|
||||
"attribute vec4 position;\n"
|
||||
"attribute vec2 inCoord;\n"
|
||||
"varying lowp vec2 outCoord;\n"
|
||||
|
|
@ -87,16 +77,6 @@ const char kVertexShaderSource[] =
|
|||
|
||||
// Similarly, just interpolate texture coordinates.
|
||||
const char kFragmentShaderSource[] =
|
||||
#if WITHOUT_TRANSLATOR_SUPPORT
|
||||
"#version 100\n"
|
||||
"const int _translator_gl_MaxVertexUniformVectors = 256;\n"
|
||||
"const int _translator_gl_MaxFragmentUniformVectors = 256;\n"
|
||||
"const int _translator_gl_MaxVaryingVectors = 15;\n"
|
||||
"#define gl_MaxVertexUniformVectors _translator_gl_MaxVertexUniformVectors\n"
|
||||
"#define gl_MaxFragmentUniformVectors _translator_gl_MaxFragmentUniformVectors\n"
|
||||
"#define gl_MaxVaryingVectors _translator_gl_MaxVaryingVectors\n"
|
||||
"#line 1\n"
|
||||
#endif
|
||||
"varying lowp vec2 outCoord;\n"
|
||||
"uniform sampler2D texture;\n"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue