1617a3babSopenharmony_cihlsl.swizzle.frag
2617a3babSopenharmony_ciShader version: 500
3617a3babSopenharmony_cigl_FragCoord origin is upper left
4617a3babSopenharmony_ci0:? Sequence
5617a3babSopenharmony_ci0:1  Sequence
6617a3babSopenharmony_ci0:1    move second child to first child ( temp 4-component vector of float)
7617a3babSopenharmony_ci0:1      'AmbientColor' ( global 4-component vector of float)
8617a3babSopenharmony_ci0:1      Constant:
9617a3babSopenharmony_ci0:1        1.000000
10617a3babSopenharmony_ci0:1        0.500000
11617a3babSopenharmony_ci0:1        0.000000
12617a3babSopenharmony_ci0:1        1.000000
13617a3babSopenharmony_ci0:4  Function Definition: ShaderFunction(vf4; ( temp 4-component vector of float)
14617a3babSopenharmony_ci0:4    Function Parameters: 
15617a3babSopenharmony_ci0:4      'input' ( in 4-component vector of float)
16617a3babSopenharmony_ci0:?     Sequence
17617a3babSopenharmony_ci0:5      Branch: Return with expression
18617a3babSopenharmony_ci0:5        component-wise multiply ( temp 4-component vector of float)
19617a3babSopenharmony_ci0:5          vector swizzle ( temp 4-component vector of float)
20617a3babSopenharmony_ci0:5            'input' ( in 4-component vector of float)
21617a3babSopenharmony_ci0:5            Sequence
22617a3babSopenharmony_ci0:5              Constant:
23617a3babSopenharmony_ci0:5                3 (const int)
24617a3babSopenharmony_ci0:5              Constant:
25617a3babSopenharmony_ci0:5                3 (const int)
26617a3babSopenharmony_ci0:5              Constant:
27617a3babSopenharmony_ci0:5                1 (const int)
28617a3babSopenharmony_ci0:5              Constant:
29617a3babSopenharmony_ci0:5                0 (const int)
30617a3babSopenharmony_ci0:5          Construct vec4 ( temp 4-component vector of float)
31617a3babSopenharmony_ci0:5            direct index ( temp float)
32617a3babSopenharmony_ci0:5              'AmbientColor' ( global 4-component vector of float)
33617a3babSopenharmony_ci0:5              Constant:
34617a3babSopenharmony_ci0:5                2 (const int)
35617a3babSopenharmony_ci0:?   Linker Objects
36617a3babSopenharmony_ci0:?     'AmbientColor' ( global 4-component vector of float)
37617a3babSopenharmony_ci
38617a3babSopenharmony_ci
39617a3babSopenharmony_ciLinked fragment stage:
40617a3babSopenharmony_ci
41617a3babSopenharmony_ciWARNING: Linking fragment stage: Entry point not found
42617a3babSopenharmony_ci
43617a3babSopenharmony_ciShader version: 500
44617a3babSopenharmony_cigl_FragCoord origin is upper left
45617a3babSopenharmony_ci0:? Sequence
46617a3babSopenharmony_ci0:1  Sequence
47617a3babSopenharmony_ci0:1    move second child to first child ( temp 4-component vector of float)
48617a3babSopenharmony_ci0:1      'AmbientColor' ( global 4-component vector of float)
49617a3babSopenharmony_ci0:1      Constant:
50617a3babSopenharmony_ci0:1        1.000000
51617a3babSopenharmony_ci0:1        0.500000
52617a3babSopenharmony_ci0:1        0.000000
53617a3babSopenharmony_ci0:1        1.000000
54617a3babSopenharmony_ci0:4  Function Definition: ShaderFunction(vf4; ( temp 4-component vector of float)
55617a3babSopenharmony_ci0:4    Function Parameters: 
56617a3babSopenharmony_ci0:4      'input' ( in 4-component vector of float)
57617a3babSopenharmony_ci0:?     Sequence
58617a3babSopenharmony_ci0:5      Branch: Return with expression
59617a3babSopenharmony_ci0:5        component-wise multiply ( temp 4-component vector of float)
60617a3babSopenharmony_ci0:5          vector swizzle ( temp 4-component vector of float)
61617a3babSopenharmony_ci0:5            'input' ( in 4-component vector of float)
62617a3babSopenharmony_ci0:5            Sequence
63617a3babSopenharmony_ci0:5              Constant:
64617a3babSopenharmony_ci0:5                3 (const int)
65617a3babSopenharmony_ci0:5              Constant:
66617a3babSopenharmony_ci0:5                3 (const int)
67617a3babSopenharmony_ci0:5              Constant:
68617a3babSopenharmony_ci0:5                1 (const int)
69617a3babSopenharmony_ci0:5              Constant:
70617a3babSopenharmony_ci0:5                0 (const int)
71617a3babSopenharmony_ci0:5          Construct vec4 ( temp 4-component vector of float)
72617a3babSopenharmony_ci0:5            direct index ( temp float)
73617a3babSopenharmony_ci0:5              'AmbientColor' ( global 4-component vector of float)
74617a3babSopenharmony_ci0:5              Constant:
75617a3babSopenharmony_ci0:5                2 (const int)
76617a3babSopenharmony_ci0:?   Linker Objects
77617a3babSopenharmony_ci0:?     'AmbientColor' ( global 4-component vector of float)
78617a3babSopenharmony_ci
79617a3babSopenharmony_ci// Module Version 10000
80617a3babSopenharmony_ci// Generated by (magic number): 8000b
81617a3babSopenharmony_ci// Id's are bound by 30
82617a3babSopenharmony_ci
83617a3babSopenharmony_ci                              Capability Shader
84617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
85617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
86617a3babSopenharmony_ci                              EntryPoint Fragment 4  "PixelShaderFunction"
87617a3babSopenharmony_ci                              ExecutionMode 4 OriginUpperLeft
88617a3babSopenharmony_ci                              Source HLSL 500
89617a3babSopenharmony_ci                              Name 4  "PixelShaderFunction"
90617a3babSopenharmony_ci                              Name 11  "ShaderFunction(vf4;"
91617a3babSopenharmony_ci                              Name 10  "input"
92617a3babSopenharmony_ci                              Name 14  "AmbientColor"
93617a3babSopenharmony_ci               2:             TypeVoid
94617a3babSopenharmony_ci               3:             TypeFunction 2
95617a3babSopenharmony_ci               6:             TypeFloat 32
96617a3babSopenharmony_ci               7:             TypeVector 6(float) 4
97617a3babSopenharmony_ci               8:             TypePointer Function 7(fvec4)
98617a3babSopenharmony_ci               9:             TypeFunction 7(fvec4) 8(ptr)
99617a3babSopenharmony_ci              13:             TypePointer Private 7(fvec4)
100617a3babSopenharmony_ci14(AmbientColor):     13(ptr) Variable Private
101617a3babSopenharmony_ci              15:    6(float) Constant 1065353216
102617a3babSopenharmony_ci              16:    6(float) Constant 1056964608
103617a3babSopenharmony_ci              17:    6(float) Constant 0
104617a3babSopenharmony_ci              18:    7(fvec4) ConstantComposite 15 16 17 15
105617a3babSopenharmony_ci              21:             TypeInt 32 0
106617a3babSopenharmony_ci              22:     21(int) Constant 2
107617a3babSopenharmony_ci              23:             TypePointer Private 6(float)
108617a3babSopenharmony_ci4(PixelShaderFunction):           2 Function None 3
109617a3babSopenharmony_ci               5:             Label
110617a3babSopenharmony_ci                              Store 14(AmbientColor) 18
111617a3babSopenharmony_ci                              Return
112617a3babSopenharmony_ci                              FunctionEnd
113617a3babSopenharmony_ci11(ShaderFunction(vf4;):    7(fvec4) Function None 9
114617a3babSopenharmony_ci       10(input):      8(ptr) FunctionParameter
115617a3babSopenharmony_ci              12:             Label
116617a3babSopenharmony_ci              19:    7(fvec4) Load 10(input)
117617a3babSopenharmony_ci              20:    7(fvec4) VectorShuffle 19 19 3 3 1 0
118617a3babSopenharmony_ci              24:     23(ptr) AccessChain 14(AmbientColor) 22
119617a3babSopenharmony_ci              25:    6(float) Load 24
120617a3babSopenharmony_ci              26:    7(fvec4) CompositeConstruct 25 25 25 25
121617a3babSopenharmony_ci              27:    7(fvec4) FMul 20 26
122617a3babSopenharmony_ci                              ReturnValue 27
123617a3babSopenharmony_ci                              FunctionEnd
124