Before, it was only including explicit interface, sufficient for IO-Block-declared oriented interface, but not sufficient for all modes GLSL might be used with SPIR-V. Two things are accomplished now: 1) each id will appear exactly once 2) the OpEntryPoint list will union static use with declarations
61 lines
2.6 KiB
Plaintext
Executable File
61 lines
2.6 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 10000
|
|
// Generated by (magic number): 80001
|
|
// Id's are bound by 25
|
|
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Vertex 4 "main" 17 9 19 11 13 23 15 24
|
|
Source GLSL 430
|
|
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 15(outVf) Flat
|
|
Decorate 17(outVn) NoPerspective
|
|
Decorate 19(outVcn) NoPerspective
|
|
Decorate 23(gl_VertexID) BuiltIn VertexId
|
|
Decorate 24(gl_InstanceID) BuiltIn InstanceId
|
|
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
|