1 hlsl.partialFlattenLocal.vert 2 // Module Version 10000 3 // Generated by (magic number): 80007 4 // Id's are bound by 158 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Vertex 4 "main" 83 86 10 Source HLSL 500 11 Name 4 "main" 12 Name 83 "pos" 13 Name 86 "@entryPointOutput" 14 Decorate 83(pos) Location 0 15 Decorate 86(@entryPointOutput) BuiltIn Position 16 2: TypeVoid 17 3: TypeFunction 2 18 6: TypeFloat 32 19 7: TypeVector 6(float) 4 20 14: TypeVector 6(float) 3 21 15: TypeInt 32 0 22 16: 15(int) Constant 3 23 17: TypeArray 14(fvec3) 16 24 18: TypeVector 6(float) 2 25 19: 15(int) Constant 2 26 20: TypeArray 18(fvec2) 19 27 21: TypeInt 32 1 28 25: 21(int) Constant 0 29 31: 21(int) Constant 1 30 32: 6(float) Constant 0 31 33: 14(fvec3) ConstantComposite 32 32 32 32 34: TypePointer Function 14(fvec3) 33 37: 6(float) Constant 1065353216 34 38: 18(fvec2) ConstantComposite 32 37 35 39: TypePointer Function 18(fvec2) 36 54: TypeBool 37 82: TypePointer Input 7(fvec4) 38 83(pos): 82(ptr) Variable Input 39 85: TypePointer Output 7(fvec4) 40 86(@entryPointOutput): 85(ptr) Variable Output 41 130: TypePointer Function 17 42 132: TypePointer Function 20 43 4(main): 2 Function None 3 44 5: Label 45 133: 132(ptr) Variable Function 46 131: 130(ptr) Variable Function 47 84: 7(fvec4) Load 83(pos) 48 136: 34(ptr) AccessChain 131 25 49 Store 136 33 50 137: 39(ptr) AccessChain 133 25 51 Store 137 38 52 Branch 100 53 100: Label 54 157: 21(int) Phi 25 5 119 106 55 105: 54(bool) SLessThan 157 31 56 LoopMerge 101 106 None 57 BranchConditional 105 106 101 58 106: Label 59 138: 39(ptr) AccessChain 133 157 60 110: 18(fvec2) Load 138 61 139: 34(ptr) AccessChain 131 157 62 112: 14(fvec3) Load 139 63 113: 18(fvec2) VectorShuffle 112 112 0 1 64 114: 18(fvec2) FAdd 113 110 65 140: 34(ptr) AccessChain 131 157 66 116: 14(fvec3) Load 140 67 117: 14(fvec3) VectorShuffle 116 114 3 4 2 68 Store 140 117 69 119: 21(int) IAdd 157 31 70 Branch 100 71 101: Label 72 142: 17 Load 131 73 156: 14(fvec3) CompositeExtract 142 0 74 124: 6(float) CompositeExtract 156 0 75 125: 6(float) CompositeExtract 156 1 76 126: 6(float) CompositeExtract 156 2 77 127: 7(fvec4) CompositeConstruct 124 125 126 32 78 128: 7(fvec4) FAdd 84 127 79 Store 86(@entryPointOutput) 128 80 Return 81 FunctionEnd 82