1617a3babSopenharmony_cihlsl.flattenOpaqueInit.vert 2617a3babSopenharmony_ciWARNING: AST will form illegal SPIR-V; need to transform to legalize 3617a3babSopenharmony_ciShader version: 500 4617a3babSopenharmony_ci0:? Sequence 5617a3babSopenharmony_ci0:5 Function Definition: lookUp(struct-FxaaTex-p1-t211; ( temp 4-component vector of float) 6617a3babSopenharmony_ci0:5 Function Parameters: 7617a3babSopenharmony_ci0:5 'tex' ( in structure{ temp sampler smpl, temp texture2D tex}) 8617a3babSopenharmony_ci0:? Sequence 9617a3babSopenharmony_ci0:6 Branch: Return with expression 10617a3babSopenharmony_ci0:6 texture ( temp 4-component vector of float) 11617a3babSopenharmony_ci0:6 Construct combined texture-sampler ( temp sampler2D) 12617a3babSopenharmony_ci0:6 tex: direct index for structure ( temp texture2D) 13617a3babSopenharmony_ci0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex}) 14617a3babSopenharmony_ci0:6 Constant: 15617a3babSopenharmony_ci0:6 1 (const int) 16617a3babSopenharmony_ci0:6 smpl: direct index for structure ( temp sampler) 17617a3babSopenharmony_ci0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex}) 18617a3babSopenharmony_ci0:6 Constant: 19617a3babSopenharmony_ci0:6 0 (const int) 20617a3babSopenharmony_ci0:6 Constant: 21617a3babSopenharmony_ci0:6 0.300000 22617a3babSopenharmony_ci0:6 0.400000 23617a3babSopenharmony_ci0:10 Function Definition: fillOpaque( ( temp structure{ temp sampler smpl, temp texture2D tex}) 24617a3babSopenharmony_ci0:10 Function Parameters: 25617a3babSopenharmony_ci0:? Sequence 26617a3babSopenharmony_ci0:12 move second child to first child ( temp sampler) 27617a3babSopenharmony_ci0:12 smpl: direct index for structure ( temp sampler) 28617a3babSopenharmony_ci0:12 't' ( temp structure{ temp sampler smpl, temp texture2D tex}) 29617a3babSopenharmony_ci0:12 Constant: 30617a3babSopenharmony_ci0:12 0 (const int) 31617a3babSopenharmony_ci0:12 'g_tInputTexture_sampler' ( uniform sampler) 32617a3babSopenharmony_ci0:13 move second child to first child ( temp texture2D) 33617a3babSopenharmony_ci0:13 tex: direct index for structure ( temp texture2D) 34617a3babSopenharmony_ci0:13 't' ( temp structure{ temp sampler smpl, temp texture2D tex}) 35617a3babSopenharmony_ci0:13 Constant: 36617a3babSopenharmony_ci0:13 1 (const int) 37617a3babSopenharmony_ci0:13 'g_tInputTexture' ( uniform texture2D) 38617a3babSopenharmony_ci0:14 Branch: Return with expression 39617a3babSopenharmony_ci0:14 't' ( temp structure{ temp sampler smpl, temp texture2D tex}) 40617a3babSopenharmony_ci0:18 Function Definition: @main( ( temp 4-component vector of float) 41617a3babSopenharmony_ci0:18 Function Parameters: 42617a3babSopenharmony_ci0:? Sequence 43617a3babSopenharmony_ci0:19 Sequence 44617a3babSopenharmony_ci0:19 move second child to first child ( temp structure{ temp sampler smpl, temp texture2D tex}) 45617a3babSopenharmony_ci0:19 'tex1' ( temp structure{ temp sampler smpl, temp texture2D tex}) 46617a3babSopenharmony_ci0:19 Construct structure ( temp structure{ temp sampler smpl, temp texture2D tex}) 47617a3babSopenharmony_ci0:19 'g_tInputTexture_sampler' ( uniform sampler) 48617a3babSopenharmony_ci0:19 'g_tInputTexture' ( uniform texture2D) 49617a3babSopenharmony_ci0:20 Sequence 50617a3babSopenharmony_ci0:20 move second child to first child ( temp 4-component vector of float) 51617a3babSopenharmony_ci0:20 'res' ( temp 4-component vector of float) 52617a3babSopenharmony_ci0:20 Function Call: lookUp(struct-FxaaTex-p1-t211; ( temp 4-component vector of float) 53617a3babSopenharmony_ci0:20 'tex1' ( temp structure{ temp sampler smpl, temp texture2D tex}) 54617a3babSopenharmony_ci0:21 Sequence 55617a3babSopenharmony_ci0:21 move second child to first child ( temp structure{ temp sampler smpl, temp texture2D tex}) 56617a3babSopenharmony_ci0:21 'tex2' ( temp structure{ temp sampler smpl, temp texture2D tex}) 57617a3babSopenharmony_ci0:21 Function Call: fillOpaque( ( temp structure{ temp sampler smpl, temp texture2D tex}) 58617a3babSopenharmony_ci0:22 add second child into first child ( temp 4-component vector of float) 59617a3babSopenharmony_ci0:22 'res' ( temp 4-component vector of float) 60617a3babSopenharmony_ci0:22 Function Call: lookUp(struct-FxaaTex-p1-t211; ( temp 4-component vector of float) 61617a3babSopenharmony_ci0:22 'tex2' ( temp structure{ temp sampler smpl, temp texture2D tex}) 62617a3babSopenharmony_ci0:23 Sequence 63617a3babSopenharmony_ci0:23 move second child to first child ( temp structure{ temp sampler smpl, temp texture2D tex}) 64617a3babSopenharmony_ci0:23 'tex3' ( temp structure{ temp sampler smpl, temp texture2D tex}) 65617a3babSopenharmony_ci0:23 'tex1' ( temp structure{ temp sampler smpl, temp texture2D tex}) 66617a3babSopenharmony_ci0:24 add second child into first child ( temp 4-component vector of float) 67617a3babSopenharmony_ci0:24 'res' ( temp 4-component vector of float) 68617a3babSopenharmony_ci0:24 Function Call: lookUp(struct-FxaaTex-p1-t211; ( temp 4-component vector of float) 69617a3babSopenharmony_ci0:24 'tex3' ( temp structure{ temp sampler smpl, temp texture2D tex}) 70617a3babSopenharmony_ci0:26 Branch: Return with expression 71617a3babSopenharmony_ci0:26 'res' ( temp 4-component vector of float) 72617a3babSopenharmony_ci0:18 Function Definition: main( ( temp void) 73617a3babSopenharmony_ci0:18 Function Parameters: 74617a3babSopenharmony_ci0:? Sequence 75617a3babSopenharmony_ci0:18 move second child to first child ( temp 4-component vector of float) 76617a3babSopenharmony_ci0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 77617a3babSopenharmony_ci0:18 Function Call: @main( ( temp 4-component vector of float) 78617a3babSopenharmony_ci0:? Linker Objects 79617a3babSopenharmony_ci0:? 'g_tInputTexture_sampler' ( uniform sampler) 80617a3babSopenharmony_ci0:? 'g_tInputTexture' ( uniform texture2D) 81617a3babSopenharmony_ci0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 82617a3babSopenharmony_ci 83617a3babSopenharmony_ci 84617a3babSopenharmony_ciLinked vertex stage: 85617a3babSopenharmony_ci 86617a3babSopenharmony_ci 87617a3babSopenharmony_ciShader version: 500 88617a3babSopenharmony_ci0:? Sequence 89617a3babSopenharmony_ci0:5 Function Definition: lookUp(struct-FxaaTex-p1-t211; ( temp 4-component vector of float) 90617a3babSopenharmony_ci0:5 Function Parameters: 91617a3babSopenharmony_ci0:5 'tex' ( in structure{ temp sampler smpl, temp texture2D tex}) 92617a3babSopenharmony_ci0:? Sequence 93617a3babSopenharmony_ci0:6 Branch: Return with expression 94617a3babSopenharmony_ci0:6 texture ( temp 4-component vector of float) 95617a3babSopenharmony_ci0:6 Construct combined texture-sampler ( temp sampler2D) 96617a3babSopenharmony_ci0:6 tex: direct index for structure ( temp texture2D) 97617a3babSopenharmony_ci0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex}) 98617a3babSopenharmony_ci0:6 Constant: 99617a3babSopenharmony_ci0:6 1 (const int) 100617a3babSopenharmony_ci0:6 smpl: direct index for structure ( temp sampler) 101617a3babSopenharmony_ci0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex}) 102617a3babSopenharmony_ci0:6 Constant: 103617a3babSopenharmony_ci0:6 0 (const int) 104617a3babSopenharmony_ci0:6 Constant: 105617a3babSopenharmony_ci0:6 0.300000 106617a3babSopenharmony_ci0:6 0.400000 107617a3babSopenharmony_ci0:10 Function Definition: fillOpaque( ( temp structure{ temp sampler smpl, temp texture2D tex}) 108617a3babSopenharmony_ci0:10 Function Parameters: 109617a3babSopenharmony_ci0:? Sequence 110617a3babSopenharmony_ci0:12 move second child to first child ( temp sampler) 111617a3babSopenharmony_ci0:12 smpl: direct index for structure ( temp sampler) 112617a3babSopenharmony_ci0:12 't' ( temp structure{ temp sampler smpl, temp texture2D tex}) 113617a3babSopenharmony_ci0:12 Constant: 114617a3babSopenharmony_ci0:12 0 (const int) 115617a3babSopenharmony_ci0:12 'g_tInputTexture_sampler' ( uniform sampler) 116617a3babSopenharmony_ci0:13 move second child to first child ( temp texture2D) 117617a3babSopenharmony_ci0:13 tex: direct index for structure ( temp texture2D) 118617a3babSopenharmony_ci0:13 't' ( temp structure{ temp sampler smpl, temp texture2D tex}) 119617a3babSopenharmony_ci0:13 Constant: 120617a3babSopenharmony_ci0:13 1 (const int) 121617a3babSopenharmony_ci0:13 'g_tInputTexture' ( uniform texture2D) 122617a3babSopenharmony_ci0:14 Branch: Return with expression 123617a3babSopenharmony_ci0:14 't' ( temp structure{ temp sampler smpl, temp texture2D tex}) 124617a3babSopenharmony_ci0:18 Function Definition: @main( ( temp 4-component vector of float) 125617a3babSopenharmony_ci0:18 Function Parameters: 126617a3babSopenharmony_ci0:? Sequence 127617a3babSopenharmony_ci0:19 Sequence 128617a3babSopenharmony_ci0:19 move second child to first child ( temp structure{ temp sampler smpl, temp texture2D tex}) 129617a3babSopenharmony_ci0:19 'tex1' ( temp structure{ temp sampler smpl, temp texture2D tex}) 130617a3babSopenharmony_ci0:19 Construct structure ( temp structure{ temp sampler smpl, temp texture2D tex}) 131617a3babSopenharmony_ci0:19 'g_tInputTexture_sampler' ( uniform sampler) 132617a3babSopenharmony_ci0:19 'g_tInputTexture' ( uniform texture2D) 133617a3babSopenharmony_ci0:20 Sequence 134617a3babSopenharmony_ci0:20 move second child to first child ( temp 4-component vector of float) 135617a3babSopenharmony_ci0:20 'res' ( temp 4-component vector of float) 136617a3babSopenharmony_ci0:20 Function Call: lookUp(struct-FxaaTex-p1-t211; ( temp 4-component vector of float) 137617a3babSopenharmony_ci0:20 'tex1' ( temp structure{ temp sampler smpl, temp texture2D tex}) 138617a3babSopenharmony_ci0:21 Sequence 139617a3babSopenharmony_ci0:21 move second child to first child ( temp structure{ temp sampler smpl, temp texture2D tex}) 140617a3babSopenharmony_ci0:21 'tex2' ( temp structure{ temp sampler smpl, temp texture2D tex}) 141617a3babSopenharmony_ci0:21 Function Call: fillOpaque( ( temp structure{ temp sampler smpl, temp texture2D tex}) 142617a3babSopenharmony_ci0:22 add second child into first child ( temp 4-component vector of float) 143617a3babSopenharmony_ci0:22 'res' ( temp 4-component vector of float) 144617a3babSopenharmony_ci0:22 Function Call: lookUp(struct-FxaaTex-p1-t211; ( temp 4-component vector of float) 145617a3babSopenharmony_ci0:22 'tex2' ( temp structure{ temp sampler smpl, temp texture2D tex}) 146617a3babSopenharmony_ci0:23 Sequence 147617a3babSopenharmony_ci0:23 move second child to first child ( temp structure{ temp sampler smpl, temp texture2D tex}) 148617a3babSopenharmony_ci0:23 'tex3' ( temp structure{ temp sampler smpl, temp texture2D tex}) 149617a3babSopenharmony_ci0:23 'tex1' ( temp structure{ temp sampler smpl, temp texture2D tex}) 150617a3babSopenharmony_ci0:24 add second child into first child ( temp 4-component vector of float) 151617a3babSopenharmony_ci0:24 'res' ( temp 4-component vector of float) 152617a3babSopenharmony_ci0:24 Function Call: lookUp(struct-FxaaTex-p1-t211; ( temp 4-component vector of float) 153617a3babSopenharmony_ci0:24 'tex3' ( temp structure{ temp sampler smpl, temp texture2D tex}) 154617a3babSopenharmony_ci0:26 Branch: Return with expression 155617a3babSopenharmony_ci0:26 'res' ( temp 4-component vector of float) 156617a3babSopenharmony_ci0:18 Function Definition: main( ( temp void) 157617a3babSopenharmony_ci0:18 Function Parameters: 158617a3babSopenharmony_ci0:? Sequence 159617a3babSopenharmony_ci0:18 move second child to first child ( temp 4-component vector of float) 160617a3babSopenharmony_ci0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 161617a3babSopenharmony_ci0:18 Function Call: @main( ( temp 4-component vector of float) 162617a3babSopenharmony_ci0:? Linker Objects 163617a3babSopenharmony_ci0:? 'g_tInputTexture_sampler' ( uniform sampler) 164617a3babSopenharmony_ci0:? 'g_tInputTexture' ( uniform texture2D) 165617a3babSopenharmony_ci0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 166617a3babSopenharmony_ci 167617a3babSopenharmony_ci// Module Version 10000 168617a3babSopenharmony_ci// Generated by (magic number): 8000b 169617a3babSopenharmony_ci// Id's are bound by 82 170617a3babSopenharmony_ci 171617a3babSopenharmony_ci Capability Shader 172617a3babSopenharmony_ci 1: ExtInstImport "GLSL.std.450" 173617a3babSopenharmony_ci MemoryModel Logical GLSL450 174617a3babSopenharmony_ci EntryPoint Vertex 4 "main" 80 175617a3babSopenharmony_ci Source HLSL 500 176617a3babSopenharmony_ci Name 4 "main" 177617a3babSopenharmony_ci Name 9 "FxaaTex" 178617a3babSopenharmony_ci MemberName 9(FxaaTex) 0 "smpl" 179617a3babSopenharmony_ci MemberName 9(FxaaTex) 1 "tex" 180617a3babSopenharmony_ci Name 14 "lookUp(struct-FxaaTex-p1-t211;" 181617a3babSopenharmony_ci Name 13 "tex" 182617a3babSopenharmony_ci Name 17 "fillOpaque(" 183617a3babSopenharmony_ci Name 20 "@main(" 184617a3babSopenharmony_ci Name 41 "t" 185617a3babSopenharmony_ci Name 43 "g_tInputTexture_sampler" 186617a3babSopenharmony_ci Name 47 "g_tInputTexture" 187617a3babSopenharmony_ci Name 53 "tex1" 188617a3babSopenharmony_ci Name 58 "res" 189617a3babSopenharmony_ci Name 59 "param" 190617a3babSopenharmony_ci Name 62 "tex2" 191617a3babSopenharmony_ci Name 64 "param" 192617a3babSopenharmony_ci Name 69 "tex3" 193617a3babSopenharmony_ci Name 71 "param" 194617a3babSopenharmony_ci Name 80 "@entryPointOutput" 195617a3babSopenharmony_ci Decorate 43(g_tInputTexture_sampler) DescriptorSet 0 196617a3babSopenharmony_ci Decorate 43(g_tInputTexture_sampler) Binding 0 197617a3babSopenharmony_ci Decorate 47(g_tInputTexture) DescriptorSet 0 198617a3babSopenharmony_ci Decorate 47(g_tInputTexture) Binding 1 199617a3babSopenharmony_ci Decorate 80(@entryPointOutput) Location 0 200617a3babSopenharmony_ci 2: TypeVoid 201617a3babSopenharmony_ci 3: TypeFunction 2 202617a3babSopenharmony_ci 6: TypeSampler 203617a3babSopenharmony_ci 7: TypeFloat 32 204617a3babSopenharmony_ci 8: TypeImage 7(float) 2D sampled format:Unknown 205617a3babSopenharmony_ci 9(FxaaTex): TypeStruct 6 8 206617a3babSopenharmony_ci 10: TypePointer Function 9(FxaaTex) 207617a3babSopenharmony_ci 11: TypeVector 7(float) 4 208617a3babSopenharmony_ci 12: TypeFunction 11(fvec4) 10(ptr) 209617a3babSopenharmony_ci 16: TypeFunction 9(FxaaTex) 210617a3babSopenharmony_ci 19: TypeFunction 11(fvec4) 211617a3babSopenharmony_ci 22: TypeInt 32 1 212617a3babSopenharmony_ci 23: 22(int) Constant 1 213617a3babSopenharmony_ci 24: TypePointer Function 8 214617a3babSopenharmony_ci 27: 22(int) Constant 0 215617a3babSopenharmony_ci 28: TypePointer Function 6 216617a3babSopenharmony_ci 31: TypeSampledImage 8 217617a3babSopenharmony_ci 33: TypeVector 7(float) 2 218617a3babSopenharmony_ci 34: 7(float) Constant 1050253722 219617a3babSopenharmony_ci 35: 7(float) Constant 1053609165 220617a3babSopenharmony_ci 36: 33(fvec2) ConstantComposite 34 35 221617a3babSopenharmony_ci 37: 7(float) Constant 0 222617a3babSopenharmony_ci 42: TypePointer UniformConstant 6 223617a3babSopenharmony_ci43(g_tInputTexture_sampler): 42(ptr) Variable UniformConstant 224617a3babSopenharmony_ci 46: TypePointer UniformConstant 8 225617a3babSopenharmony_ci47(g_tInputTexture): 46(ptr) Variable UniformConstant 226617a3babSopenharmony_ci 57: TypePointer Function 11(fvec4) 227617a3babSopenharmony_ci 79: TypePointer Output 11(fvec4) 228617a3babSopenharmony_ci80(@entryPointOutput): 79(ptr) Variable Output 229617a3babSopenharmony_ci 4(main): 2 Function None 3 230617a3babSopenharmony_ci 5: Label 231617a3babSopenharmony_ci 81: 11(fvec4) FunctionCall 20(@main() 232617a3babSopenharmony_ci Store 80(@entryPointOutput) 81 233617a3babSopenharmony_ci Return 234617a3babSopenharmony_ci FunctionEnd 235617a3babSopenharmony_ci14(lookUp(struct-FxaaTex-p1-t211;): 11(fvec4) Function None 12 236617a3babSopenharmony_ci 13(tex): 10(ptr) FunctionParameter 237617a3babSopenharmony_ci 15: Label 238617a3babSopenharmony_ci 25: 24(ptr) AccessChain 13(tex) 23 239617a3babSopenharmony_ci 26: 8 Load 25 240617a3babSopenharmony_ci 29: 28(ptr) AccessChain 13(tex) 27 241617a3babSopenharmony_ci 30: 6 Load 29 242617a3babSopenharmony_ci 32: 31 SampledImage 26 30 243617a3babSopenharmony_ci 38: 11(fvec4) ImageSampleExplicitLod 32 36 Lod 37 244617a3babSopenharmony_ci ReturnValue 38 245617a3babSopenharmony_ci FunctionEnd 246617a3babSopenharmony_ci 17(fillOpaque(): 9(FxaaTex) Function None 16 247617a3babSopenharmony_ci 18: Label 248617a3babSopenharmony_ci 41(t): 10(ptr) Variable Function 249617a3babSopenharmony_ci 44: 6 Load 43(g_tInputTexture_sampler) 250617a3babSopenharmony_ci 45: 28(ptr) AccessChain 41(t) 27 251617a3babSopenharmony_ci Store 45 44 252617a3babSopenharmony_ci 48: 8 Load 47(g_tInputTexture) 253617a3babSopenharmony_ci 49: 24(ptr) AccessChain 41(t) 23 254617a3babSopenharmony_ci Store 49 48 255617a3babSopenharmony_ci 50: 9(FxaaTex) Load 41(t) 256617a3babSopenharmony_ci ReturnValue 50 257617a3babSopenharmony_ci FunctionEnd 258617a3babSopenharmony_ci 20(@main(): 11(fvec4) Function None 19 259617a3babSopenharmony_ci 21: Label 260617a3babSopenharmony_ci 53(tex1): 10(ptr) Variable Function 261617a3babSopenharmony_ci 58(res): 57(ptr) Variable Function 262617a3babSopenharmony_ci 59(param): 10(ptr) Variable Function 263617a3babSopenharmony_ci 62(tex2): 10(ptr) Variable Function 264617a3babSopenharmony_ci 64(param): 10(ptr) Variable Function 265617a3babSopenharmony_ci 69(tex3): 10(ptr) Variable Function 266617a3babSopenharmony_ci 71(param): 10(ptr) Variable Function 267617a3babSopenharmony_ci 54: 6 Load 43(g_tInputTexture_sampler) 268617a3babSopenharmony_ci 55: 8 Load 47(g_tInputTexture) 269617a3babSopenharmony_ci 56: 9(FxaaTex) CompositeConstruct 54 55 270617a3babSopenharmony_ci Store 53(tex1) 56 271617a3babSopenharmony_ci 60: 9(FxaaTex) Load 53(tex1) 272617a3babSopenharmony_ci Store 59(param) 60 273617a3babSopenharmony_ci 61: 11(fvec4) FunctionCall 14(lookUp(struct-FxaaTex-p1-t211;) 59(param) 274617a3babSopenharmony_ci Store 58(res) 61 275617a3babSopenharmony_ci 63: 9(FxaaTex) FunctionCall 17(fillOpaque() 276617a3babSopenharmony_ci Store 62(tex2) 63 277617a3babSopenharmony_ci 65: 9(FxaaTex) Load 62(tex2) 278617a3babSopenharmony_ci Store 64(param) 65 279617a3babSopenharmony_ci 66: 11(fvec4) FunctionCall 14(lookUp(struct-FxaaTex-p1-t211;) 64(param) 280617a3babSopenharmony_ci 67: 11(fvec4) Load 58(res) 281617a3babSopenharmony_ci 68: 11(fvec4) FAdd 67 66 282617a3babSopenharmony_ci Store 58(res) 68 283617a3babSopenharmony_ci 70: 9(FxaaTex) Load 53(tex1) 284617a3babSopenharmony_ci Store 69(tex3) 70 285617a3babSopenharmony_ci 72: 9(FxaaTex) Load 69(tex3) 286617a3babSopenharmony_ci Store 71(param) 72 287617a3babSopenharmony_ci 73: 11(fvec4) FunctionCall 14(lookUp(struct-FxaaTex-p1-t211;) 71(param) 288617a3babSopenharmony_ci 74: 11(fvec4) Load 58(res) 289617a3babSopenharmony_ci 75: 11(fvec4) FAdd 74 73 290617a3babSopenharmony_ci Store 58(res) 75 291617a3babSopenharmony_ci 76: 11(fvec4) Load 58(res) 292617a3babSopenharmony_ci ReturnValue 76 293617a3babSopenharmony_ci FunctionEnd 294