blob: 2bb07e2ee11e3b750ba4a1d648dab2f907919439 [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.length.frag
John Kessenichcc16fa02015-12-10 18:01:54 -07002// Module Version 10000
John Kessenich07ed11f2017-10-07 11:33:11 -06003// Generated by (magic number): 80002
John Kessenichcc16fa02015-12-10 18:01:54 -07004// Id's are bound by 33
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" 14 26
John Kessenich6c292d32016-02-15 20:58:50 -070010 ExecutionMode 4 OriginUpperLeft
John Kessenichf6eae2a2016-01-22 17:47:22 -070011 Source GLSL 140
John Kessenichcc16fa02015-12-10 18:01:54 -070012 Name 4 "main"
13 Name 9 "t"
14 Name 14 "v"
15 Name 26 "gl_FragColor"
16 Name 32 "u"
John Kessenich2c6f48b2017-05-20 13:23:25 -060017 Decorate 26(gl_FragColor) Location 0
John Kessenichcc16fa02015-12-10 18:01:54 -070018 2: TypeVoid
19 3: TypeFunction 2
20 6: TypeFloat 32
21 7: TypeVector 6(float) 2
22 8: TypePointer Function 7(fvec2)
23 10: TypeInt 32 0
24 11: 10(int) Constant 2
25 12: TypeArray 7(fvec2) 11
26 13: TypePointer Input 12
27 14(v): 13(ptr) Variable Input
28 15: TypeInt 32 1
29 16: 15(int) Constant 0
30 17: TypePointer Input 7(fvec2)
31 20: 15(int) Constant 1
32 24: TypeVector 6(float) 4
33 25: TypePointer Output 24(fvec4)
3426(gl_FragColor): 25(ptr) Variable Output
35 27: 6(float) Constant 1106247680
36 28: 24(fvec4) ConstantComposite 27 27 27 27
37 29: 10(int) Constant 3
38 30: TypeArray 24(fvec4) 29
John Kessenich6c292d32016-02-15 20:58:50 -070039 31: TypePointer Private 30
40 32(u): 31(ptr) Variable Private
John Kessenichcc16fa02015-12-10 18:01:54 -070041 4(main): 2 Function None 3
42 5: Label
43 9(t): 8(ptr) Variable Function
44 18: 17(ptr) AccessChain 14(v) 16
45 19: 7(fvec2) Load 18
46 21: 17(ptr) AccessChain 14(v) 20
47 22: 7(fvec2) Load 21
48 23: 7(fvec2) FAdd 19 22
49 Store 9(t) 23
50 Store 26(gl_FragColor) 28
51 Return
52 FunctionEnd