1spv.1.4.LoopControl.frag 2WARNING: 0:15: 'min_iterations' : expected a single integer argument 3WARNING: 0:15: 'max_iterations' : expected a single integer argument 4 5// Module Version 10400 6// Generated by (magic number): 8000b 7// Id's are bound by 54 8 9 Capability Shader 10 1: ExtInstImport "GLSL.std.450" 11 MemoryModel Logical GLSL450 12 EntryPoint Fragment 4 "main" 53 13 ExecutionMode 4 OriginUpperLeft 14 Source GLSL 450 15 SourceExtension "GL_EXT_control_flow_attributes" 16 Name 4 "main" 17 Name 8 "i" 18 Name 32 "i" 19 Name 42 "i" 20 Name 53 "cond" 21 2: TypeVoid 22 3: TypeFunction 2 23 6: TypeInt 32 1 24 7: TypePointer Function 6(int) 25 9: 6(int) Constant 0 26 16: 6(int) Constant 8 27 17: TypeBool 28 20: 6(int) Constant 1 29 27: 17(bool) ConstantTrue 30 52: TypePointer Private 17(bool) 31 53(cond): 52(ptr) Variable Private 32 4(main): 2 Function None 3 33 5: Label 34 8(i): 7(ptr) Variable Function 35 32(i): 7(ptr) Variable Function 36 42(i): 7(ptr) Variable Function 37 Store 8(i) 9 38 Branch 10 39 10: Label 40 LoopMerge 12 13 MinIterations MaxIterations 3 7 41 Branch 14 42 14: Label 43 15: 6(int) Load 8(i) 44 18: 17(bool) SLessThan 15 16 45 BranchConditional 18 11 12 46 11: Label 47 Branch 13 48 13: Label 49 19: 6(int) Load 8(i) 50 21: 6(int) IAdd 19 20 51 Store 8(i) 21 52 Branch 10 53 12: Label 54 Branch 22 55 22: Label 56 LoopMerge 24 25 IterationMultiple 2 57 Branch 26 58 26: Label 59 BranchConditional 27 23 24 60 23: Label 61 Branch 25 62 25: Label 63 Branch 22 64 24: Label 65 Branch 28 66 28: Label 67 LoopMerge 30 31 PeelCount 5 68 Branch 29 69 29: Label 70 Branch 31 71 31: Label 72 BranchConditional 27 28 30 73 30: Label 74 Store 32(i) 9 75 Branch 33 76 33: Label 77 LoopMerge 35 36 PartialCount 4 78 Branch 37 79 37: Label 80 38: 6(int) Load 32(i) 81 39: 17(bool) SLessThan 38 16 82 BranchConditional 39 34 35 83 34: Label 84 Branch 36 85 36: Label 86 40: 6(int) Load 32(i) 87 41: 6(int) IAdd 40 20 88 Store 32(i) 41 89 Branch 33 90 35: Label 91 Store 42(i) 9 92 Branch 43 93 43: Label 94 LoopMerge 45 46 None 95 Branch 47 96 47: Label 97 48: 6(int) Load 42(i) 98 49: 17(bool) SLessThan 48 16 99 BranchConditional 49 44 45 100 44: Label 101 Branch 46 102 46: Label 103 50: 6(int) Load 42(i) 104 51: 6(int) IAdd 50 20 105 Store 42(i) 51 106 Branch 43 107 45: Label 108 Return 109 FunctionEnd 110