SPV: Require desktop 140 or ES 310 or above.
This commit is contained in:
parent
4bfeed5fe8
commit
f6eae2a54a
102 changed files with 357 additions and 313 deletions
|
|
@ -1,24 +1,31 @@
|
|||
spv.branch-return.vert
|
||||
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
|
||||
|
||||
|
||||
Linked vertex stage:
|
||||
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 35
|
||||
// Id's are bound by 39
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 8 19 34
|
||||
Source ESSL 300
|
||||
EntryPoint Vertex 4 "main" 8 20 38
|
||||
Source ESSL 310
|
||||
Name 4 "main"
|
||||
Name 8 "gl_InstanceID"
|
||||
Name 19 "gl_Position"
|
||||
Name 34 "gl_VertexID"
|
||||
Name 18 "gl_PerVertex"
|
||||
MemberName 18(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 18(gl_PerVertex) 1 "gl_PointSize"
|
||||
Name 20 ""
|
||||
Name 38 "gl_VertexID"
|
||||
Decorate 8(gl_InstanceID) BuiltIn InstanceId
|
||||
Decorate 19(gl_Position) BuiltIn Position
|
||||
Decorate 34(gl_VertexID) BuiltIn VertexId
|
||||
MemberDecorate 18(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 18(gl_PerVertex) 1 BuiltIn PointSize
|
||||
Decorate 18(gl_PerVertex) Block
|
||||
Decorate 38(gl_VertexID) BuiltIn VertexId
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 32 1
|
||||
|
|
@ -26,15 +33,18 @@ Linked vertex stage:
|
|||
8(gl_InstanceID): 7(ptr) Variable Input
|
||||
16: TypeFloat 32
|
||||
17: TypeVector 16(float) 4
|
||||
18: TypePointer Output 17(fvec4)
|
||||
19(gl_Position): 18(ptr) Variable Output
|
||||
20: 16(float) Constant 0
|
||||
21: 17(fvec4) ConstantComposite 20 20 20 20
|
||||
26: 16(float) Constant 1039918957
|
||||
27: TypeInt 32 0
|
||||
28: 27(int) Constant 0
|
||||
29: TypePointer Output 16(float)
|
||||
34(gl_VertexID): 7(ptr) Variable Input
|
||||
18(gl_PerVertex): TypeStruct 17(fvec4) 16(float)
|
||||
19: TypePointer Output 18(gl_PerVertex)
|
||||
20: 19(ptr) Variable Output
|
||||
21: 6(int) Constant 0
|
||||
22: 16(float) Constant 0
|
||||
23: 17(fvec4) ConstantComposite 22 22 22 22
|
||||
24: TypePointer Output 17(fvec4)
|
||||
30: 16(float) Constant 1039918957
|
||||
31: TypeInt 32 0
|
||||
32: 31(int) Constant 0
|
||||
33: TypePointer Output 16(float)
|
||||
38(gl_VertexID): 7(ptr) Variable Input
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
9: 6(int) Load 8(gl_InstanceID)
|
||||
|
|
@ -47,17 +57,18 @@ Linked vertex stage:
|
|||
10: Label
|
||||
Return
|
||||
11: Label
|
||||
Store 19(gl_Position) 21
|
||||
25: 24(ptr) AccessChain 20 21
|
||||
Store 25 23
|
||||
Branch 14
|
||||
12: Label
|
||||
Return
|
||||
13: Label
|
||||
Return
|
||||
14: Label
|
||||
30: 29(ptr) AccessChain 19(gl_Position) 28
|
||||
31: 16(float) Load 30
|
||||
32: 16(float) FAdd 31 26
|
||||
33: 29(ptr) AccessChain 19(gl_Position) 28
|
||||
Store 33 32
|
||||
34: 33(ptr) AccessChain 20 21 32
|
||||
35: 16(float) Load 34
|
||||
36: 16(float) FAdd 35 30
|
||||
37: 33(ptr) AccessChain 20 21 32
|
||||
Store 37 36
|
||||
Return
|
||||
FunctionEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue