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,6 +1,5 @@
spv.dataOutIndirect.vert
WARNING: 0:3: attribute deprecated in version 130; may be removed in future release
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
Linked vertex stage:
@ -8,21 +7,23 @@ Linked vertex stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 40
// Id's are bound by 41
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 25 28 34 39
Source GLSL 130
EntryPoint Vertex 4 "main" 25 28 34 39 40
Source GLSL 140
Name 4 "main"
Name 8 "i"
Name 25 "colorOut"
Name 28 "color"
Name 34 "gl_Position"
Name 39 "gl_VertexID"
Name 40 "gl_InstanceID"
Decorate 34(gl_Position) BuiltIn Position
Decorate 39(gl_VertexID) BuiltIn VertexId
Decorate 40(gl_InstanceID) BuiltIn InstanceId
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
@ -44,6 +45,7 @@ Linked vertex stage:
35: 6(int) Constant 2
38: TypePointer Input 6(int)
39(gl_VertexID): 38(ptr) Variable Input
40(gl_InstanceID): 38(ptr) Variable Input
4(main): 2 Function None 3
5: Label
8(i): 7(ptr) Variable Function