Fix few typos
This commit is contained in:
parent
5b09f3e4bf
commit
2b19bf7e1b
3 changed files with 5 additions and 5 deletions
|
|
@ -2,8 +2,8 @@
|
||||||
ERROR: 0:15: 'fromVertex' : block instance name redefinition
|
ERROR: 0:15: 'fromVertex' : block instance name redefinition
|
||||||
ERROR: 0:19: 'fromVertex' : redefinition
|
ERROR: 0:19: 'fromVertex' : redefinition
|
||||||
ERROR: 0:21: 'fooC' : block instance name redefinition
|
ERROR: 0:21: 'fooC' : block instance name redefinition
|
||||||
ERROR: 0:29: 'if the verison is 150 , the EmitStreamVertex and EndStreamPrimitive only support at extension GL_ARB_gpu_shader5' : required extension not requested: GL_ARB_gpu_shader5
|
ERROR: 0:29: 'if the version is 150 , the EmitStreamVertex and EndStreamPrimitive only support at extension GL_ARB_gpu_shader5' : required extension not requested: GL_ARB_gpu_shader5
|
||||||
ERROR: 0:30: 'if the verison is 150 , the EmitStreamVertex and EndStreamPrimitive only support at extension GL_ARB_gpu_shader5' : required extension not requested: GL_ARB_gpu_shader5
|
ERROR: 0:30: 'if the version is 150 , the EmitStreamVertex and EndStreamPrimitive only support at extension GL_ARB_gpu_shader5' : required extension not requested: GL_ARB_gpu_shader5
|
||||||
ERROR: 0:44: 'stream' : can only be used on an output
|
ERROR: 0:44: 'stream' : can only be used on an output
|
||||||
ERROR: 0:45: 'stream' : can only be used on an output
|
ERROR: 0:45: 'stream' : can only be used on an output
|
||||||
ERROR: 0:46: 'stream' : can only be used on an output
|
ERROR: 0:46: 'stream' : can only be used on an output
|
||||||
|
|
|
||||||
|
|
@ -492,7 +492,7 @@ TIntermTyped* TParseContext::handleVariable(const TSourceLoc& loc, TSymbol* symb
|
||||||
if ((variable->getMangledName() == "gl_PrimitiveTriangleIndicesEXT" && primitiveType != ElgTriangles) ||
|
if ((variable->getMangledName() == "gl_PrimitiveTriangleIndicesEXT" && primitiveType != ElgTriangles) ||
|
||||||
(variable->getMangledName() == "gl_PrimitiveLineIndicesEXT" && primitiveType != ElgLines) ||
|
(variable->getMangledName() == "gl_PrimitiveLineIndicesEXT" && primitiveType != ElgLines) ||
|
||||||
(variable->getMangledName() == "gl_PrimitivePointIndicesEXT" && primitiveType != ElgPoints)) {
|
(variable->getMangledName() == "gl_PrimitivePointIndicesEXT" && primitiveType != ElgPoints)) {
|
||||||
error(loc, "cannot be used (ouput primitive type mismatch)", string->c_str(), "");
|
error(loc, "cannot be used (output primitive type mismatch)", string->c_str(), "");
|
||||||
variable = nullptr;
|
variable = nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -2704,7 +2704,7 @@ void TParseContext::builtInOpCheck(const TSourceLoc& loc, const TFunction& fnCan
|
||||||
case EOpEmitStreamVertex:
|
case EOpEmitStreamVertex:
|
||||||
case EOpEndStreamPrimitive:
|
case EOpEndStreamPrimitive:
|
||||||
if (version == 150)
|
if (version == 150)
|
||||||
requireExtensions(loc, 1, &E_GL_ARB_gpu_shader5, "if the verison is 150 , the EmitStreamVertex and EndStreamPrimitive only support at extension GL_ARB_gpu_shader5");
|
requireExtensions(loc, 1, &E_GL_ARB_gpu_shader5, "if the version is 150 , the EmitStreamVertex and EndStreamPrimitive only support at extension GL_ARB_gpu_shader5");
|
||||||
intermediate.setMultiStream();
|
intermediate.setMultiStream();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -788,7 +788,7 @@ bool ProcessDeferred(
|
||||||
// set version/profile to defaultVersion/defaultProfile regardless of the #version
|
// set version/profile to defaultVersion/defaultProfile regardless of the #version
|
||||||
// directive in the source code
|
// directive in the source code
|
||||||
bool forceDefaultVersionAndProfile,
|
bool forceDefaultVersionAndProfile,
|
||||||
int overrideVersion, // overrides version specified by #verison or default version
|
int overrideVersion, // overrides version specified by #version or default version
|
||||||
bool forwardCompatible, // give errors for use of deprecated features
|
bool forwardCompatible, // give errors for use of deprecated features
|
||||||
EShMessages messages, // warnings/errors/AST; things to print out
|
EShMessages messages, // warnings/errors/AST; things to print out
|
||||||
TIntermediate& intermediate, // returned tree, etc.
|
TIntermediate& intermediate, // returned tree, etc.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue