Structured control-flow rules allow leaving the middle of a construct through a return, but not through a jump to a block that does a return. Addresses issue #58.
65 lines
2.9 KiB
Plaintext
Executable File
65 lines
2.9 KiB
Plaintext
Executable File
spv.qualifiers.vert
|
|
Warning, version 430 is not yet complete; most version-specific features are present, but some are missing.
|
|
|
|
|
|
Linked vertex stage:
|
|
|
|
|
|
// Module Version 99
|
|
// Generated by (magic number): 51a00bb
|
|
// Id's are bound by 25
|
|
|
|
Source GLSL 430
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Vertex 4 "main"
|
|
Name 4 "main"
|
|
Name 9 "outVc"
|
|
Name 11 "inV"
|
|
Name 13 "outVs"
|
|
Name 15 "outVf"
|
|
Name 17 "outVn"
|
|
Name 19 "outVcn"
|
|
Name 23 "gl_VertexID"
|
|
Name 24 "gl_InstanceID"
|
|
Decorate 9(outVc) Smooth
|
|
Decorate 13(outVs) Smooth
|
|
Decorate 15(outVf) Flat
|
|
Decorate 17(outVn) Noperspective
|
|
Decorate 19(outVcn) Noperspective
|
|
Decorate 23(gl_VertexID) BuiltIn VertexId
|
|
Decorate 23(gl_VertexID) NoStaticUse
|
|
Decorate 24(gl_InstanceID) BuiltIn InstanceId
|
|
Decorate 24(gl_InstanceID) NoStaticUse
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeFloat 32
|
|
7: TypeVector 6(float) 4
|
|
8: TypePointer Output 7(fvec4)
|
|
9(outVc): 8(ptr) Variable Output
|
|
10: TypePointer Input 7(fvec4)
|
|
11(inV): 10(ptr) Variable Input
|
|
13(outVs): 8(ptr) Variable Output
|
|
15(outVf): 8(ptr) Variable Output
|
|
17(outVn): 8(ptr) Variable Output
|
|
19(outVcn): 8(ptr) Variable Output
|
|
21: TypeInt 32 1
|
|
22: TypePointer Input 21(int)
|
|
23(gl_VertexID): 22(ptr) Variable Input
|
|
24(gl_InstanceID): 22(ptr) Variable Input
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
12: 7(fvec4) Load 11(inV)
|
|
Store 9(outVc) 12
|
|
14: 7(fvec4) Load 11(inV)
|
|
Store 13(outVs) 14
|
|
16: 7(fvec4) Load 11(inV)
|
|
Store 15(outVf) 16
|
|
18: 7(fvec4) Load 11(inV)
|
|
Store 17(outVn) 18
|
|
20: 7(fvec4) Load 11(inV)
|
|
Store 19(outVcn) 20
|
|
Return
|
|
FunctionEnd
|