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

@@ -7,13 +7,13 @@ Linked vertex stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 27
// Id's are bound by 28
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 9 11 15 21 26
Source GLSL 130
EntryPoint Vertex 4 "main" 9 11 15 21 26 27
Source GLSL 140
Name 4 "main"
Name 9 "uv"
Name 11 "uv_in"
@@ -21,8 +21,10 @@ Linked vertex stage:
Name 18 "transform"
Name 21 "position"
Name 26 "gl_VertexID"
Name 27 "gl_InstanceID"
Decorate 15(gl_Position) BuiltIn Position
Decorate 26(gl_VertexID) BuiltIn VertexId
Decorate 27(gl_InstanceID) BuiltIn InstanceId
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@@ -42,6 +44,7 @@ Linked vertex stage:
24: TypeInt 32 1
25: TypePointer Input 24(int)
26(gl_VertexID): 25(ptr) Variable Input
27(gl_InstanceID): 25(ptr) Variable Input
4(main): 2 Function None 3
5: Label
12: 7(fvec2) Load 11(uv_in)