1 spv.register.autoassign-2.frag
2 // Module Version 10000
3 // Generated by (magic number): 80001
4 // Id's are bound by 47
7 1: ExtInstImport "GLSL.std.450"
8 MemoryModel Logical GLSL450
9 EntryPoint Fragment 4 "main" 44
10 ExecutionMode 4 OriginUpperLeft
13 MemberName 8(PS_OUTPUT) 0 "Color"
14 Name 12 "@main(struct-PS_OUTPUT-vf41;"
22 Decorate 18(g_tScene[0]) DescriptorSet 0
23 Decorate 18(g_tScene[0]) Binding 10
24 Decorate 22(g_tSamp) DescriptorSet 0
25 Decorate 22(g_tSamp) Binding 5
26 Decorate 31(g_tScene[1]) DescriptorSet 0
27 Decorate 31(g_tScene[1]) Binding 11
28 Decorate 44(Color) Location 0
32 7: TypeVector 6(float) 4
33 8(PS_OUTPUT): TypeStruct 7(fvec4)
34 9: TypePointer Function 8(PS_OUTPUT)
35 10: TypeFunction 2 9(ptr)
37 15: 14(int) Constant 0
38 16: TypeImage 6(float) 2D sampled format:Unknown
39 17: TypePointer UniformConstant 16
40 18(g_tScene[0]): 17(ptr) Variable UniformConstant
42 21: TypePointer UniformConstant 20
43 22(g_tSamp): 21(ptr) Variable UniformConstant
44 24: TypeSampledImage 16
45 26: TypeVector 6(float) 2
46 27: 6(float) Constant 1050253722
47 28: 6(float) Constant 1053609165
48 29: 26(fvec2) ConstantComposite 27 28
49 31(g_tScene[1]): 17(ptr) Variable UniformConstant
50 37: TypePointer Function 7(fvec4)
51 43: TypePointer Output 7(fvec4)
52 44(Color): 43(ptr) Variable Output
53 4(main): 2 Function None 3
55 39(psout): 9(ptr) Variable Function
56 40(param): 9(ptr) Variable Function
57 41: 2 FunctionCall 12(@main(struct-PS_OUTPUT-vf41;) 40(param)
58 42:8(PS_OUTPUT) Load 40(param)
60 45: 37(ptr) AccessChain 39(psout) 15
65 12(@main(struct-PS_OUTPUT-vf41;): 2 Function None 10
66 11(psout): 9(ptr) FunctionParameter
68 19: 16 Load 18(g_tScene[0])
69 23: 20 Load 22(g_tSamp)
70 25: 24 SampledImage 19 23
71 30: 7(fvec4) ImageSampleImplicitLod 25 29
72 32: 16 Load 31(g_tScene[1])
73 33: 20 Load 22(g_tSamp)
74 34: 24 SampledImage 32 33
75 35: 7(fvec4) ImageSampleImplicitLod 34 29
76 36: 7(fvec4) FAdd 30 35
77 38: 37(ptr) AccessChain 11(psout) 15