GLSL: Add version-number checking.
This commit is contained in:
parent
67eb497002
commit
9353f1afab
4 changed files with 66 additions and 3 deletions
2
Test/435.vert
Normal file
2
Test/435.vert
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#version 435
|
||||
void main() {}
|
||||
25
Test/baseResults/435.vert.out
Executable file
25
Test/baseResults/435.vert.out
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
435.vert
|
||||
ERROR: version not supported
|
||||
ERROR: 1 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 450
|
||||
ERROR: node is still EOpNull!
|
||||
0:2 Function Definition: main( ( global void)
|
||||
0:2 Function Parameters:
|
||||
0:? Linker Objects
|
||||
0:? 'gl_VertexID' ( gl_VertexId int VertexId)
|
||||
0:? 'gl_InstanceID' ( gl_InstanceId int InstanceId)
|
||||
|
||||
|
||||
Linked vertex stage:
|
||||
|
||||
|
||||
Shader version: 450
|
||||
ERROR: node is still EOpNull!
|
||||
0:2 Function Definition: main( ( global void)
|
||||
0:2 Function Parameters:
|
||||
0:? Linker Objects
|
||||
0:? 'gl_VertexID' ( gl_VertexId int VertexId)
|
||||
0:? 'gl_InstanceID' ( gl_InstanceId int InstanceId)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue