SPV: Require desktop 140 or ES 310 or above.
This commit is contained in:
@@ -5,13 +5,13 @@ Linked vertex stage:
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 145
|
||||
// Id's are bound by 146
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 39 140 144
|
||||
Source GLSL 130
|
||||
EntryPoint Vertex 4 "main" 39 140 144 145
|
||||
Source GLSL 140
|
||||
Name 4 "main"
|
||||
Name 8 "lod"
|
||||
Name 10 "coords1D"
|
||||
@@ -27,8 +27,10 @@ Linked vertex stage:
|
||||
Name 114 "shadowSampler2D"
|
||||
Name 140 "gl_Position"
|
||||
Name 144 "gl_VertexID"
|
||||
Name 145 "gl_InstanceID"
|
||||
Decorate 140(gl_Position) BuiltIn Position
|
||||
Decorate 144(gl_VertexID) BuiltIn VertexId
|
||||
Decorate 145(gl_InstanceID) BuiltIn InstanceId
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
@@ -78,6 +80,7 @@ Linked vertex stage:
|
||||
142: TypeInt 32 1
|
||||
143: TypePointer Input 142(int)
|
||||
144(gl_VertexID): 143(ptr) Variable Input
|
||||
145(gl_InstanceID): 143(ptr) Variable Input
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
8(lod): 7(ptr) Variable Function
|
||||
|
||||
Reference in New Issue
Block a user