blob: 156a6e2419027bfd6e81d179df40695fc3a85300 [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.300layout.frag
John Kessenich2b5ea9f2018-01-31 18:35:56 -07002// Module Version 10000
Jeremy Hayes78221d62022-10-12 18:16:41 -06003// Generated by (magic number): 8000b
John Kessenichcc16fa02015-12-10 18:01:54 -07004// Id's are bound by 37
5
6 Capability Shader
7 1: ExtInstImport "GLSL.std.450"
8 MemoryModel Logical GLSL450
John Kessenich7ba63412015-12-20 17:37:07 -07009 EntryPoint Fragment 4 "main" 9 11 15 26 29
John Kessenich6c292d32016-02-15 20:58:50 -070010 ExecutionMode 4 OriginUpperLeft
John Kessenichf6eae2a2016-01-22 17:47:22 -070011 Source ESSL 310
John Kessenichcc16fa02015-12-10 18:01:54 -070012 Name 4 "main"
13 Name 9 "c"
14 Name 11 "color"
15 Name 13 "S"
16 MemberName 13(S) 0 "c"
17 MemberName 13(S) 1 "f"
18 Name 15 "s"
19 Name 26 "p"
20 Name 29 "pos"
21 Decorate 9(c) RelaxedPrecision
22 Decorate 9(c) Location 7
23 Decorate 11(color) RelaxedPrecision
John Kessenichf6facfa2020-07-01 06:30:16 -060024 Decorate 11(color) Location 1
John Kessenich32cfd492016-02-02 12:37:46 -070025 Decorate 12 RelaxedPrecision
John Kessenichcc16fa02015-12-10 18:01:54 -070026 MemberDecorate 13(S) 0 RelaxedPrecision
27 MemberDecorate 13(S) 1 RelaxedPrecision
John Kessenichf6facfa2020-07-01 06:30:16 -060028 Decorate 15(s) Location 2
John Kessenich32cfd492016-02-02 12:37:46 -070029 Decorate 19 RelaxedPrecision
30 Decorate 20 RelaxedPrecision
John Kessenichcc16fa02015-12-10 18:01:54 -070031 Decorate 26(p) RelaxedPrecision
32 Decorate 26(p) Location 3
33 Decorate 29(pos) RelaxedPrecision
John Kessenichf6facfa2020-07-01 06:30:16 -060034 Decorate 29(pos) Location 0
John Kessenich32cfd492016-02-02 12:37:46 -070035 Decorate 30 RelaxedPrecision
36 Decorate 33 RelaxedPrecision
37 Decorate 34 RelaxedPrecision
John Kessenichcc16fa02015-12-10 18:01:54 -070038 2: TypeVoid
39 3: TypeFunction 2
40 6: TypeFloat 32
41 7: TypeVector 6(float) 3
42 8: TypePointer Output 7(fvec3)
43 9(c): 8(ptr) Variable Output
44 10: TypePointer Input 7(fvec3)
45 11(color): 10(ptr) Variable Input
46 13(S): TypeStruct 7(fvec3) 6(float)
47 14: TypePointer Input 13(S)
48 15(s): 14(ptr) Variable Input
49 16: TypeInt 32 1
50 17: 16(int) Constant 0
51 21: TypeVector 6(float) 4
52 22: TypeInt 32 0
53 23: 22(int) Constant 2
54 24: TypeArray 21(fvec4) 23
55 25: TypePointer Output 24
56 26(p): 25(ptr) Variable Output
57 27: 16(int) Constant 1
58 28: TypePointer Input 21(fvec4)
59 29(pos): 28(ptr) Variable Input
60 31: TypePointer Input 6(float)
61 35: TypePointer Output 21(fvec4)
62 4(main): 2 Function None 3
63 5: Label
64 12: 7(fvec3) Load 11(color)
65 18: 10(ptr) AccessChain 15(s) 17
66 19: 7(fvec3) Load 18
67 20: 7(fvec3) FAdd 12 19
68 Store 9(c) 20
69 30: 21(fvec4) Load 29(pos)
70 32: 31(ptr) AccessChain 15(s) 27
71 33: 6(float) Load 32
72 34: 21(fvec4) VectorTimesScalar 30 33
73 36: 35(ptr) AccessChain 26(p) 27
74 Store 36 34
75 Return
76 FunctionEnd