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

@@ -1,17 +1,20 @@
spv.nonSquare.vert
WARNING: 0:3: attribute deprecated in version 130; may be removed in future release
WARNING: 0:4: attribute deprecated in version 130; may be removed in future release
Linked vertex stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 90
// Id's are bound by 94
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 12 28 55
Source GLSL 120
EntryPoint Vertex 4 "main" 12 28 55 92 93
Source GLSL 140
Name 4 "main"
Name 9 "a"
Name 12 "v3"
@@ -20,7 +23,11 @@ Linked vertex stage:
Name 22 "m32"
Name 28 "gl_Position"
Name 55 "v4"
Name 92 "gl_VertexID"
Name 93 "gl_InstanceID"
Decorate 28(gl_Position) BuiltIn Position
Decorate 92(gl_VertexID) BuiltIn VertexId
Decorate 93(gl_InstanceID) BuiltIn InstanceId
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@@ -83,6 +90,10 @@ Linked vertex stage:
87: 6(float) Constant 1090519040
88: 7(fvec2) ConstantComposite 86 87
89: 79 ConstantComposite 82 84 85 88
90: TypeInt 32 1
91: TypePointer Input 90(int)
92(gl_VertexID): 91(ptr) Variable Input
93(gl_InstanceID): 91(ptr) Variable Input
4(main): 2 Function None 3
5: Label
9(a): 8(ptr) Variable Function