1617a3babSopenharmony_cihlsl.multiView.frag
2617a3babSopenharmony_ciShader version: 500
3617a3babSopenharmony_cigl_FragCoord origin is upper left
4617a3babSopenharmony_ci0:? Sequence
5617a3babSopenharmony_ci0:3  Function Definition: @main(u1; ( temp 4-component vector of float)
6617a3babSopenharmony_ci0:3    Function Parameters: 
7617a3babSopenharmony_ci0:3      'ViewIndex' ( in uint)
8617a3babSopenharmony_ci0:?     Sequence
9617a3babSopenharmony_ci0:4      Branch: Return with expression
10617a3babSopenharmony_ci0:4        Construct vec4 ( temp 4-component vector of float)
11617a3babSopenharmony_ci0:4          Convert uint to float ( temp float)
12617a3babSopenharmony_ci0:4            'ViewIndex' ( in uint)
13617a3babSopenharmony_ci0:4          Constant:
14617a3babSopenharmony_ci0:4            0.000000
15617a3babSopenharmony_ci0:4          Constant:
16617a3babSopenharmony_ci0:4            0.000000
17617a3babSopenharmony_ci0:4          Constant:
18617a3babSopenharmony_ci0:4            0.000000
19617a3babSopenharmony_ci0:3  Function Definition: main( ( temp void)
20617a3babSopenharmony_ci0:3    Function Parameters: 
21617a3babSopenharmony_ci0:?     Sequence
22617a3babSopenharmony_ci0:3      move second child to first child ( temp uint)
23617a3babSopenharmony_ci0:?         'ViewIndex' ( temp uint)
24617a3babSopenharmony_ci0:?         'ViewIndex' ( flat in uint ViewIndex)
25617a3babSopenharmony_ci0:3      move second child to first child ( temp 4-component vector of float)
26617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
27617a3babSopenharmony_ci0:3        Function Call: @main(u1; ( temp 4-component vector of float)
28617a3babSopenharmony_ci0:?           'ViewIndex' ( temp uint)
29617a3babSopenharmony_ci0:?   Linker Objects
30617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
31617a3babSopenharmony_ci0:?     'ViewIndex' ( flat in uint ViewIndex)
32617a3babSopenharmony_ci
33617a3babSopenharmony_ci
34617a3babSopenharmony_ciLinked fragment stage:
35617a3babSopenharmony_ci
36617a3babSopenharmony_ci
37617a3babSopenharmony_ciShader version: 500
38617a3babSopenharmony_cigl_FragCoord origin is upper left
39617a3babSopenharmony_ci0:? Sequence
40617a3babSopenharmony_ci0:3  Function Definition: @main(u1; ( temp 4-component vector of float)
41617a3babSopenharmony_ci0:3    Function Parameters: 
42617a3babSopenharmony_ci0:3      'ViewIndex' ( in uint)
43617a3babSopenharmony_ci0:?     Sequence
44617a3babSopenharmony_ci0:4      Branch: Return with expression
45617a3babSopenharmony_ci0:4        Construct vec4 ( temp 4-component vector of float)
46617a3babSopenharmony_ci0:4          Convert uint to float ( temp float)
47617a3babSopenharmony_ci0:4            'ViewIndex' ( in uint)
48617a3babSopenharmony_ci0:4          Constant:
49617a3babSopenharmony_ci0:4            0.000000
50617a3babSopenharmony_ci0:4          Constant:
51617a3babSopenharmony_ci0:4            0.000000
52617a3babSopenharmony_ci0:4          Constant:
53617a3babSopenharmony_ci0:4            0.000000
54617a3babSopenharmony_ci0:3  Function Definition: main( ( temp void)
55617a3babSopenharmony_ci0:3    Function Parameters: 
56617a3babSopenharmony_ci0:?     Sequence
57617a3babSopenharmony_ci0:3      move second child to first child ( temp uint)
58617a3babSopenharmony_ci0:?         'ViewIndex' ( temp uint)
59617a3babSopenharmony_ci0:?         'ViewIndex' ( flat in uint ViewIndex)
60617a3babSopenharmony_ci0:3      move second child to first child ( temp 4-component vector of float)
61617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
62617a3babSopenharmony_ci0:3        Function Call: @main(u1; ( temp 4-component vector of float)
63617a3babSopenharmony_ci0:?           'ViewIndex' ( temp uint)
64617a3babSopenharmony_ci0:?   Linker Objects
65617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
66617a3babSopenharmony_ci0:?     'ViewIndex' ( flat in uint ViewIndex)
67617a3babSopenharmony_ci
68617a3babSopenharmony_ci// Module Version 10000
69617a3babSopenharmony_ci// Generated by (magic number): 8000b
70617a3babSopenharmony_ci// Id's are bound by 29
71617a3babSopenharmony_ci
72617a3babSopenharmony_ci                              Capability Shader
73617a3babSopenharmony_ci                              Capability MultiView
74617a3babSopenharmony_ci                              Extension  "SPV_KHR_multiview"
75617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
76617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
77617a3babSopenharmony_ci                              EntryPoint Fragment 4  "main" 22 25
78617a3babSopenharmony_ci                              ExecutionMode 4 OriginUpperLeft
79617a3babSopenharmony_ci                              Source HLSL 500
80617a3babSopenharmony_ci                              Name 4  "main"
81617a3babSopenharmony_ci                              Name 12  "@main(u1;"
82617a3babSopenharmony_ci                              Name 11  "ViewIndex"
83617a3babSopenharmony_ci                              Name 20  "ViewIndex"
84617a3babSopenharmony_ci                              Name 22  "ViewIndex"
85617a3babSopenharmony_ci                              Name 25  "@entryPointOutput"
86617a3babSopenharmony_ci                              Name 26  "param"
87617a3babSopenharmony_ci                              Decorate 22(ViewIndex) Flat
88617a3babSopenharmony_ci                              Decorate 22(ViewIndex) BuiltIn ViewIndex
89617a3babSopenharmony_ci                              Decorate 25(@entryPointOutput) Location 0
90617a3babSopenharmony_ci               2:             TypeVoid
91617a3babSopenharmony_ci               3:             TypeFunction 2
92617a3babSopenharmony_ci               6:             TypeInt 32 0
93617a3babSopenharmony_ci               7:             TypePointer Function 6(int)
94617a3babSopenharmony_ci               8:             TypeFloat 32
95617a3babSopenharmony_ci               9:             TypeVector 8(float) 4
96617a3babSopenharmony_ci              10:             TypeFunction 9(fvec4) 7(ptr)
97617a3babSopenharmony_ci              16:    8(float) Constant 0
98617a3babSopenharmony_ci              21:             TypePointer Input 6(int)
99617a3babSopenharmony_ci   22(ViewIndex):     21(ptr) Variable Input
100617a3babSopenharmony_ci              24:             TypePointer Output 9(fvec4)
101617a3babSopenharmony_ci25(@entryPointOutput):     24(ptr) Variable Output
102617a3babSopenharmony_ci         4(main):           2 Function None 3
103617a3babSopenharmony_ci               5:             Label
104617a3babSopenharmony_ci   20(ViewIndex):      7(ptr) Variable Function
105617a3babSopenharmony_ci       26(param):      7(ptr) Variable Function
106617a3babSopenharmony_ci              23:      6(int) Load 22(ViewIndex)
107617a3babSopenharmony_ci                              Store 20(ViewIndex) 23
108617a3babSopenharmony_ci              27:      6(int) Load 20(ViewIndex)
109617a3babSopenharmony_ci                              Store 26(param) 27
110617a3babSopenharmony_ci              28:    9(fvec4) FunctionCall 12(@main(u1;) 26(param)
111617a3babSopenharmony_ci                              Store 25(@entryPointOutput) 28
112617a3babSopenharmony_ci                              Return
113617a3babSopenharmony_ci                              FunctionEnd
114617a3babSopenharmony_ci   12(@main(u1;):    9(fvec4) Function None 10
115617a3babSopenharmony_ci   11(ViewIndex):      7(ptr) FunctionParameter
116617a3babSopenharmony_ci              13:             Label
117617a3babSopenharmony_ci              14:      6(int) Load 11(ViewIndex)
118617a3babSopenharmony_ci              15:    8(float) ConvertUToF 14
119617a3babSopenharmony_ci              17:    9(fvec4) CompositeConstruct 15 16 16 16
120617a3babSopenharmony_ci                              ReturnValue 17
121617a3babSopenharmony_ci                              FunctionEnd
122