blob: 829b7029595d2abe1a9359e252a8a45d846b7669 [file]
spv.precise.dot.vert
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 28
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 21
Source GLSL 450
Name 4 "main"
Name 9 "v"
Name 11 "u"
Name 15 "f"
Name 19 "gl_PerVertex"
MemberName 19(gl_PerVertex) 0 "gl_Position"
Name 21 ""
Decorate 18 NoContraction
Decorate 19(gl_PerVertex) Block
MemberDecorate 19(gl_PerVertex) 0 BuiltIn Position
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8: TypePointer Function 7(fvec4)
10: TypePointer Private 6(float)
11(u): 10(ptr) Variable Private
14: TypePointer Function 6(float)
19(gl_PerVertex): TypeStruct 7(fvec4)
20: TypePointer Output 19(gl_PerVertex)
21: 20(ptr) Variable Output
22: TypeInt 32 1
23: 22(int) Constant 0
26: TypePointer Output 7(fvec4)
4(main): 2 Function None 3
5: Label
9(v): 8(ptr) Variable Function
15(f): 14(ptr) Variable Function
12: 6(float) Load 11(u)
13: 7(fvec4) CompositeConstruct 12 12 12 12
Store 9(v) 13
16: 7(fvec4) Load 9(v)
17: 7(fvec4) Load 9(v)
18: 6(float) Dot 16 17
Store 15(f) 18
24: 6(float) Load 15(f)
25: 7(fvec4) CompositeConstruct 24 24 24 24
27: 26(ptr) AccessChain 21 23
Store 27 25
Return
FunctionEnd