1spv.controlFlowAttributes.frag 2WARNING: 0:20: '' : attribute with arguments not recognized, skipping 3WARNING: 0:21: '' : attribute with arguments not recognized, skipping 4WARNING: 0:22: '' : attribute with arguments not recognized, skipping 5WARNING: 0:23: 'dependency_length' : expected a single integer argument 6WARNING: 0:24: '' : attribute with arguments not recognized, skipping 7WARNING: 0:25: '' : attribute with arguments not recognized, skipping 8WARNING: 0:26: '' : attribute with arguments not recognized, skipping 9 10Validation failed 11// Module Version 10000 12// Generated by (magic number): 80007 13// Id's are bound by 118 14 15 Capability Shader 16 1: ExtInstImport "GLSL.std.450" 17 MemoryModel Logical GLSL450 18 EntryPoint Fragment 4 "main" 19 ExecutionMode 4 OriginUpperLeft 20 Source GLSL 450 21 SourceExtension "GL_EXT_control_flow_attributes" 22 Name 4 "main" 23 Name 8 "i" 24 Name 36 "i" 25 Name 47 "cond" 26 Name 60 "i" 27 Name 79 "i" 28 2: TypeVoid 29 3: TypeFunction 2 30 6: TypeInt 32 1 31 7: TypePointer Function 6(int) 32 9: 6(int) Constant 0 33 16: 6(int) Constant 8 34 17: TypeBool 35 20: 6(int) Constant 1 36 31: 17(bool) ConstantTrue 37 46: TypePointer Private 17(bool) 38 47(cond): 46(ptr) Variable Private 39 54: 17(bool) ConstantFalse 40 55: 6(int) Constant 3 41 4(main): 2 Function None 3 42 5: Label 43 8(i): 7(ptr) Variable Function 44 36(i): 7(ptr) Variable Function 45 60(i): 7(ptr) Variable Function 46 79(i): 7(ptr) Variable Function 47 Store 8(i) 9 48 Branch 10 49 10: Label 50 LoopMerge 12 13 Unroll 51 Branch 14 52 14: Label 53 15: 6(int) Load 8(i) 54 18: 17(bool) SLessThan 15 16 55 BranchConditional 18 11 12 56 11: Label 57 Branch 13 58 13: Label 59 19: 6(int) Load 8(i) 60 21: 6(int) IAdd 19 20 61 Store 8(i) 21 62 Branch 10 63 12: Label 64 Branch 22 65 22: Label 66 LoopMerge 24 25 DontUnroll 67 Branch 23 68 23: Label 69 Branch 25 70 25: Label 71 Branch 22 72 24: Label 73 Branch 26 74 26: Label 75 LoopMerge 28 29 DontUnroll 76 Branch 30 77 30: Label 78 BranchConditional 31 27 28 79 27: Label 80 Branch 29 81 29: Label 82 Branch 26 83 28: Label 84 Branch 32 85 32: Label 86 LoopMerge 34 35 DependencyInfinite 87 Branch 33 88 33: Label 89 Branch 35 90 35: Label 91 BranchConditional 31 32 34 92 34: Label 93 Store 36(i) 9 94 Branch 37 95 37: Label 96 LoopMerge 39 40 DependencyLength 4 97 Branch 41 98 41: Label 99 42: 6(int) Load 36(i) 100 43: 17(bool) SLessThan 42 16 101 BranchConditional 43 38 39 102 38: Label 103 Branch 40 104 40: Label 105 44: 6(int) Load 36(i) 106 45: 6(int) IAdd 44 20 107 Store 36(i) 45 108 Branch 37 109 39: Label 110 48: 17(bool) Load 47(cond) 111 SelectionMerge 50 Flatten 112 BranchConditional 48 49 50 113 49: Label 114 Branch 50 115 50: Label 116 51: 17(bool) Load 47(cond) 117 SelectionMerge 53 DontFlatten 118 BranchConditional 51 52 53 119 52: Label 120 Store 47(cond) 54 121 Branch 53 122 53: Label 123 SelectionMerge 57 DontFlatten 124 Switch 55 57 125 case 3: 56 126 56: Label 127 Branch 57 128 57: Label 129 Store 60(i) 9 130 Branch 61 131 61: Label 132 LoopMerge 63 64 None 133 Branch 65 134 65: Label 135 66: 6(int) Load 60(i) 136 67: 17(bool) SLessThan 66 16 137 BranchConditional 67 62 63 138 62: Label 139 Branch 64 140 64: Label 141 68: 6(int) Load 60(i) 142 69: 6(int) IAdd 68 20 143 Store 60(i) 69 144 Branch 61 145 63: Label 146 Branch 70 147 70: Label 148 LoopMerge 72 73 None 149 Branch 74 150 74: Label 151 BranchConditional 31 71 72 152 71: Label 153 Branch 73 154 73: Label 155 Branch 70 156 72: Label 157 Branch 75 158 75: Label 159 LoopMerge 77 78 None 160 Branch 76 161 76: Label 162 Branch 78 163 78: Label 164 BranchConditional 31 75 77 165 77: Label 166 Store 79(i) 9 167 Branch 80 168 80: Label 169 LoopMerge 82 83 None 170 Branch 84 171 84: Label 172 85: 6(int) Load 79(i) 173 86: 17(bool) SLessThan 85 16 174 BranchConditional 86 81 82 175 81: Label 176 Branch 83 177 83: Label 178 87: 6(int) Load 79(i) 179 88: 6(int) IAdd 87 20 180 Store 79(i) 88 181 Branch 80 182 82: Label 183 89: 17(bool) Load 47(cond) 184 SelectionMerge 91 None 185 BranchConditional 89 90 91 186 90: Label 187 Branch 91 188 91: Label 189 92: 17(bool) Load 47(cond) 190 SelectionMerge 94 None 191 BranchConditional 92 93 94 192 93: Label 193 Store 47(cond) 54 194 Branch 94 195 94: Label 196 SelectionMerge 96 None 197 Switch 55 96 198 case 3: 95 199 95: Label 200 Branch 96 201 96: Label 202 Branch 99 203 99: Label 204 LoopMerge 101 102 Unroll DontUnroll DependencyLength 2 205 Branch 103 206 103: Label 207 104: 17(bool) Load 47(cond) 208 BranchConditional 104 100 101 209 100: Label 210 Branch 102 211 102: Label 212 Branch 99 213 101: Label 214 SelectionMerge 106 DontFlatten 215 Switch 55 106 216 case 3: 105 217 105: Label 218 Branch 106 219 106: Label 220 109: 17(bool) Load 47(cond) 221 SelectionMerge 111 Flatten 222 BranchConditional 109 110 111 223 110: Label 224 Branch 111 225 111: Label 226 Branch 112 227 112: Label 228 LoopMerge 114 115 DependencyInfinite 229 Branch 116 230 116: Label 231 117: 17(bool) Load 47(cond) 232 BranchConditional 117 113 114 233 113: Label 234 Branch 115 235 115: Label 236 Branch 112 237 114: Label 238 Return 239 FunctionEnd 240