blob: 8d099346083cd9745896bf346473d58ad04c25a3 [file] [log] [blame]
John Kessenich8c8505c2016-07-26 12:50:38 -06001spv.swizzleInversion.frag
John Kessenich2b5ea9f2018-01-31 18:35:56 -07002// Module Version 10000
Graeme Leese182ab462020-06-22 11:49:38 +01003// Generated by (magic number): 8000a
John Kessenich8c8505c2016-07-26 12:50:38 -06004// Id's are bound by 46
5
6 Capability Shader
7 Capability InterpolationFunction
8 1: ExtInstImport "GLSL.std.450"
9 MemoryModel Logical GLSL450
10 EntryPoint Fragment 4 "main" 12 37
11 ExecutionMode 4 OriginUpperLeft
12 Source GLSL 450
13 Name 4 "main"
14 Name 9 "v43"
15 Name 12 "in4"
16 Name 17 "v42"
17 Name 23 "v44"
18 Name 29 "v41"
19 Name 35 "v33"
20 Name 37 "in3"
21 Name 40 "v32"
22 Name 43 "v31"
John Kessenichf6facfa2020-07-01 06:30:16 -060023 Decorate 12(in4) Location 0
24 Decorate 37(in3) Location 1
John Kessenich8c8505c2016-07-26 12:50:38 -060025 2: TypeVoid
26 3: TypeFunction 2
27 6: TypeFloat 32
28 7: TypeVector 6(float) 3
29 8: TypePointer Function 7(fvec3)
30 10: TypeVector 6(float) 4
31 11: TypePointer Input 10(fvec4)
32 12(in4): 11(ptr) Variable Input
33 15: TypeVector 6(float) 2
34 16: TypePointer Function 15(fvec2)
35 18: TypeInt 32 1
36 19: 18(int) Constant 1
37 22: TypePointer Function 10(fvec4)
38 24: 6(float) Constant 1073741824
39 25: 15(fvec2) ConstantComposite 24 24
40 28: TypePointer Function 6(float)
41 30: TypeInt 32 0
42 31: 30(int) Constant 1
43 32: TypePointer Input 6(float)
44 36: TypePointer Input 7(fvec3)
45 37(in3): 36(ptr) Variable Input
46 4(main): 2 Function None 3
47 5: Label
48 9(v43): 8(ptr) Variable Function
49 17(v42): 16(ptr) Variable Function
50 23(v44): 22(ptr) Variable Function
51 29(v41): 28(ptr) Variable Function
52 35(v33): 8(ptr) Variable Function
53 40(v32): 16(ptr) Variable Function
54 43(v31): 28(ptr) Variable Function
55 13: 10(fvec4) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 12(in4)
56 14: 7(fvec3) VectorShuffle 13 13 3 2 0
57 Store 9(v43) 14
58 20: 10(fvec4) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 12(in4) 19
59 21: 15(fvec2) VectorShuffle 20 20 2 0
60 Store 17(v42) 21
61 26: 10(fvec4) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 12(in4) 25
62 27: 10(fvec4) VectorShuffle 26 26 2 1 0 3
63 Store 23(v44) 27
64 33: 32(ptr) AccessChain 12(in4) 31
65 34: 6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 33 25
66 Store 29(v41) 34
67 38: 7(fvec3) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 37(in3)
68 39: 7(fvec3) VectorShuffle 38 38 1 2 0
69 Store 35(v33) 39
70 41: 7(fvec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 37(in3) 19
71 42: 15(fvec2) VectorShuffle 41 41 2 0
72 Store 40(v32) 42
73 44: 32(ptr) AccessChain 12(in4) 31
74 45: 6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 44 25
75 Store 43(v31) 45
76 Return
77 FunctionEnd