yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
b937eae5
main
1spv.longVectorBuiltinsSpecConstint32.comp 2// Module Version 10300 3// Generated by (magic number): 8000b 4// Id's are bound by 106 5 6 Capability Shader 7 Capability LongVectorEXT 8 Capability ExpectAssumeKHR 9 Extension "SPV_EXT_long_vector" 10 Extension "SPV_KHR_expect_assume" 11 1: ExtInstImport "GLSL.std.450" 12 MemoryModel Logical GLSL450 13 EntryPoint GLCompute 4 "main" 14 ExecutionMode 4 LocalSize 64 1 1 15 Source GLSL 450 16 SourceExtension "GL_EXT_buffer_reference" 17 SourceExtension "GL_EXT_expect_assume" 18 SourceExtension "GL_EXT_long_vector" 19 SourceExtension "GL_EXT_shader_explicit_arithmetic_types" 20 SourceExtension "GL_KHR_memory_scope_semantics" 21 Name 4 "main" 22 Name 8 "c0" 23 Name 11 "vi" 24 Name 14 "i" 25 Name 43 "vb" 26 Name 66 "tempArg" 27 Name 67 "tempArg" 28 Name 68 "ResType" 29 Decorate 8(c0) SpecId 0 30 Decorate 105 BuiltIn WorkgroupSize 31 2: TypeVoid 32 3: TypeFunction 2 33 6: TypeInt 32 1 34 7: TypeInt 32 0 35 8(c0): 7(int) SpecConstant 0 36 9: TypeCooperativeVectorNV 6(int) 8(c0) 37 10: TypePointer Function 9 38 13: TypePointer Function 6(int) 39 40: TypeBool 40 41: TypeCooperativeVectorNV 40(bool) 8(c0) 41 42: TypePointer Function 41 42 68(ResType): TypeStruct 9 9 43 102: TypeVector 7(int) 3 44 103: 7(int) Constant 64 45 104: 7(int) Constant 1 46 105: 102(ivec3) ConstantComposite 103 104 104 47 4(main): 2 Function None 3 48 5: Label 49 11(vi): 10(ptr) Variable Function 50 14(i): 13(ptr) Variable Function 51 43(vb): 42(ptr) Variable Function 52 66(tempArg): 10(ptr) Variable Function 53 67(tempArg): 10(ptr) Variable Function 54 12: 9 Load 11(vi) 55 15: 6(int) Load 14(i) 56 16: 9 CompositeConstruct 57 17: 9 ExtInst 1(GLSL.std.450) 39(SMin) 12 16 58 Store 11(vi) 17 59 18: 9 Load 11(vi) 60 19: 9 Load 11(vi) 61 20: 9 ExtInst 1(GLSL.std.450) 39(SMin) 18 19 62 Store 11(vi) 20 63 21: 9 Load 11(vi) 64 22: 6(int) Load 14(i) 65 23: 9 CompositeConstruct 66 24: 9 ExtInst 1(GLSL.std.450) 42(SMax) 21 23 67 Store 11(vi) 24 68 25: 9 Load 11(vi) 69 26: 9 Load 11(vi) 70 27: 9 ExtInst 1(GLSL.std.450) 42(SMax) 25 26 71 Store 11(vi) 27 72 28: 9 Load 11(vi) 73 29: 6(int) Load 14(i) 74 30: 6(int) Load 14(i) 75 31: 9 CompositeConstruct 76 32: 9 CompositeConstruct 77 33: 9 ExtInst 1(GLSL.std.450) 45(SClamp) 28 31 32 78 Store 11(vi) 33 79 34: 9 Load 11(vi) 80 35: 9 Load 11(vi) 81 36: 9 Load 11(vi) 82 37: 9 ExtInst 1(GLSL.std.450) 45(SClamp) 34 35 36 83 Store 11(vi) 37 84 38: 9 Load 11(vi) 85 39: 9 Load 11(vi) 86 44: 41 Load 43(vb) 87 45: 9 Select 44 39 38 88 Store 11(vi) 45 89 46: 9 Load 11(vi) 90 47: 9 Load 11(vi) 91 48: 41 SLessThan 46 47 92 Store 43(vb) 48 93 49: 9 Load 11(vi) 94 50: 9 Load 11(vi) 95 51: 41 SLessThanEqual 49 50 96 Store 43(vb) 51 97 52: 9 Load 11(vi) 98 53: 9 Load 11(vi) 99 54: 41 SGreaterThan 52 53 100 Store 43(vb) 54 101 55: 9 Load 11(vi) 102 56: 9 Load 11(vi) 103 57: 41 SGreaterThanEqual 55 56 104 Store 43(vb) 57 105 58: 9 Load 11(vi) 106 59: 9 Load 11(vi) 107 60: 41 IEqual 58 59 108 Store 43(vb) 60 109 61: 9 Load 11(vi) 110 62: 9 Load 11(vi) 111 63: 41 INotEqual 61 62 112 Store 43(vb) 63 113 64: 9 Load 11(vi) 114 65: 9 Load 11(vi) 115 69: 68(ResType) SMulExtended 64 65 116 70: 9 CompositeExtract 69 0 117 Store 67(tempArg) 70 118 71: 9 CompositeExtract 69 1 119 Store 66(tempArg) 71 120 72: 9 Load 66(tempArg) 121 Store 11(vi) 72 122 73: 9 Load 67(tempArg) 123 Store 11(vi) 73 124 74: 9 Load 11(vi) 125 75: 6(int) Load 14(i) 126 76: 6(int) Load 14(i) 127 77: 9 BitFieldSExtract 74 75 76 128 Store 11(vi) 77 129 78: 9 Load 11(vi) 130 79: 9 Load 11(vi) 131 80: 6(int) Load 14(i) 132 81: 6(int) Load 14(i) 133 82: 9 BitFieldInsert 78 79 80 81 134 Store 11(vi) 82 135 83: 9 Load 11(vi) 136 84: 9 BitReverse 83 137 Store 11(vi) 84 138 85: 9 Load 11(vi) 139 86: 9 BitCount 85 140 Store 11(vi) 86 141 87: 9 Load 11(vi) 142 88: 9 ExtInst 1(GLSL.std.450) 73(FindILsb) 87 143 Store 11(vi) 88 144 89: 9 Load 11(vi) 145 90: 9 ExtInst 1(GLSL.std.450) 74(FindSMsb) 89 146 Store 11(vi) 90 147 91: 9 Load 11(vi) 148 92: 9 Load 11(vi) 149 93: 41 Load 43(vb) 150 94: 9 Select 93 92 91 151 Store 11(vi) 94 152 95: 41 Load 43(vb) 153 96: 41 Load 43(vb) 154 97: 41 Load 43(vb) 155 98: 41 Select 97 96 95 156 Store 43(vb) 98 157 99: 9 Load 11(vi) 158 100: 9 Load 11(vi) 159 101: 9 ExpectKHR 99 100 160 Store 11(vi) 101 161 Return 162 FunctionEnd