blob: 62dca8d8facade3974cf5f34670d85544c7b2bea [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.300layout.frag
2
3Linked fragment stage:
4
5
6// Module Version 10000
7// Generated by (magic number): 80001
8// Id's are bound by 37
9
10 Capability Shader
11 1: ExtInstImport "GLSL.std.450"
12 MemoryModel Logical GLSL450
13 EntryPoint Fragment 4 "main" 29 11 9 26 15
14 ExecutionMode 4 OriginLowerLeft
15 Source ESSL 300
16 Name 4 "main"
17 Name 9 "c"
18 Name 11 "color"
19 Name 13 "S"
20 MemberName 13(S) 0 "c"
21 MemberName 13(S) 1 "f"
22 Name 15 "s"
23 Name 26 "p"
24 Name 29 "pos"
25 Decorate 9(c) RelaxedPrecision
26 Decorate 9(c) Location 7
27 Decorate 11(color) RelaxedPrecision
28 MemberDecorate 13(S) 0 RelaxedPrecision
29 MemberDecorate 13(S) 1 RelaxedPrecision
30 Decorate 26(p) RelaxedPrecision
31 Decorate 26(p) Location 3
32 Decorate 29(pos) RelaxedPrecision
33 2: TypeVoid
34 3: TypeFunction 2
35 6: TypeFloat 32
36 7: TypeVector 6(float) 3
37 8: TypePointer Output 7(fvec3)
38 9(c): 8(ptr) Variable Output
39 10: TypePointer Input 7(fvec3)
40 11(color): 10(ptr) Variable Input
41 13(S): TypeStruct 7(fvec3) 6(float)
42 14: TypePointer Input 13(S)
43 15(s): 14(ptr) Variable Input
44 16: TypeInt 32 1
45 17: 16(int) Constant 0
46 21: TypeVector 6(float) 4
47 22: TypeInt 32 0
48 23: 22(int) Constant 2
49 24: TypeArray 21(fvec4) 23
50 25: TypePointer Output 24
51 26(p): 25(ptr) Variable Output
52 27: 16(int) Constant 1
53 28: TypePointer Input 21(fvec4)
54 29(pos): 28(ptr) Variable Input
55 31: TypePointer Input 6(float)
56 35: TypePointer Output 21(fvec4)
57 4(main): 2 Function None 3
58 5: Label
59 12: 7(fvec3) Load 11(color)
60 18: 10(ptr) AccessChain 15(s) 17
61 19: 7(fvec3) Load 18
62 20: 7(fvec3) FAdd 12 19
63 Store 9(c) 20
64 30: 21(fvec4) Load 29(pos)
65 32: 31(ptr) AccessChain 15(s) 27
66 33: 6(float) Load 32
67 34: 21(fvec4) VectorTimesScalar 30 33
68 36: 35(ptr) AccessChain 26(p) 27
69 Store 36 34
70 Return
71 FunctionEnd