c8273dd14fd8da8293d5bdedd57ca2dae4df409c
[platform/upstream/glslang.git] / Test / baseResults / spv.register.autoassign-2.frag.out
1 spv.register.autoassign-2.frag
2 // Module Version 10000
3 // Generated by (magic number): 80001
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                               Name 4  "main"
12                               Name 8  "PS_OUTPUT"
13                               MemberName 8(PS_OUTPUT) 0  "Color"
14                               Name 12  "@main(struct-PS_OUTPUT-vf41;"
15                               Name 11  "psout"
16                               Name 18  "g_tScene[0]"
17                               Name 22  "g_tSamp"
18                               Name 31  "g_tScene[1]"
19                               Name 39  "psout"
20                               Name 40  "param"
21                               Name 44  "Color"
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
29                2:             TypeVoid
30                3:             TypeFunction 2
31                6:             TypeFloat 32
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)
36               14:             TypeInt 32 1
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
41               20:             TypeSampler
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
54                5:             Label
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)
59                               Store 39(psout) 42
60               45:     37(ptr) AccessChain 39(psout) 15
61               46:    7(fvec4) Load 45
62                               Store 44(Color) 46
63                               Return
64                               FunctionEnd
65 12(@main(struct-PS_OUTPUT-vf41;):           2 Function None 10
66        11(psout):      9(ptr) FunctionParameter
67               13:             Label
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
78                               Store 38 36
79                               Return
80                               FunctionEnd