GLSL: Add version-number checking.

This commit is contained in:
John Kessenich
2017-07-23 11:49:42 -06:00
parent 67eb497002
commit 9353f1afab
4 changed files with 66 additions and 3 deletions

25
Test/baseResults/435.vert.out Executable file
View 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)