SPV: Require desktop 140 or ES 310 or above.

This commit is contained in:
John Kessenich
2016-01-22 17:47:22 -07:00
parent 4bfeed5fe8
commit f6eae2a54a
102 changed files with 357 additions and 313 deletions

View File

@@ -5,13 +5,13 @@ Linked vertex stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 96
// Id's are bound by 97
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 72 76 95
Source GLSL 130
EntryPoint Vertex 4 "main" 72 76 95 96
Source GLSL 140
Name 4 "main"
Name 14 "xf(mf33;vf3;"
Name 12 "m"
@@ -31,8 +31,10 @@ Linked vertex stage:
Name 84 "param"
Name 86 "param"
Name 95 "gl_VertexID"
Name 96 "gl_InstanceID"
Decorate 72(gl_Position) BuiltIn Position
Decorate 95(gl_VertexID) BuiltIn VertexId
Decorate 96(gl_InstanceID) BuiltIn InstanceId
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@@ -63,6 +65,7 @@ Linked vertex stage:
83(m3): 82(ptr) Variable UniformConstant
94: TypePointer Input 33(int)
95(gl_VertexID): 94(ptr) Variable Input
96(gl_InstanceID): 94(ptr) Variable Input
4(main): 2 Function None 3
5: Label
77(param): 18(ptr) Variable Function