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