spv.longVectorBuiltinsint32.comp // Module Version 10300 // Generated by (magic number): 8000b // Id's are bound by 105 Capability Shader Capability LongVectorEXT Capability ExpectAssumeKHR Extension "SPV_EXT_long_vector" Extension "SPV_KHR_expect_assume" 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint GLCompute 4 "main" ExecutionMode 4 LocalSize 64 1 1 Source GLSL 450 SourceExtension "GL_EXT_buffer_reference" SourceExtension "GL_EXT_expect_assume" SourceExtension "GL_EXT_long_vector" SourceExtension "GL_EXT_shader_explicit_arithmetic_types" SourceExtension "GL_KHR_memory_scope_semantics" Name 4 "main" Name 9 "vi" Name 12 "i" Name 41 "vb" Name 64 "tempArg" Name 65 "tempArg" Name 66 "ResType" Decorate 104 BuiltIn WorkgroupSize 2: TypeVoid 3: TypeFunction 2 6: TypeInt 32 1 7: TypeVector 6(int) 5 8: TypePointer Function 7(ivec) 11: TypePointer Function 6(int) 38: TypeBool 39: TypeVector 38(bool) 5 40: TypePointer Function 39(bvec) 66(ResType): TypeStruct 7(ivec) 7(ivec) 100: TypeInt 32 0 101: TypeVector 100(int) 3 102: 100(int) Constant 64 103: 100(int) Constant 1 104: 101(ivec3) ConstantComposite 102 103 103 4(main): 2 Function None 3 5: Label 9(vi): 8(ptr) Variable Function 12(i): 11(ptr) Variable Function 41(vb): 40(ptr) Variable Function 64(tempArg): 8(ptr) Variable Function 65(tempArg): 8(ptr) Variable Function 10: 7(ivec) Load 9(vi) 13: 6(int) Load 12(i) 14: 7(ivec) CompositeConstruct 13 13 13 13 13 15: 7(ivec) ExtInst 1(GLSL.std.450) 39(SMin) 10 14 Store 9(vi) 15 16: 7(ivec) Load 9(vi) 17: 7(ivec) Load 9(vi) 18: 7(ivec) ExtInst 1(GLSL.std.450) 39(SMin) 16 17 Store 9(vi) 18 19: 7(ivec) Load 9(vi) 20: 6(int) Load 12(i) 21: 7(ivec) CompositeConstruct 20 20 20 20 20 22: 7(ivec) ExtInst 1(GLSL.std.450) 42(SMax) 19 21 Store 9(vi) 22 23: 7(ivec) Load 9(vi) 24: 7(ivec) Load 9(vi) 25: 7(ivec) ExtInst 1(GLSL.std.450) 42(SMax) 23 24 Store 9(vi) 25 26: 7(ivec) Load 9(vi) 27: 6(int) Load 12(i) 28: 6(int) Load 12(i) 29: 7(ivec) CompositeConstruct 27 27 27 27 27 30: 7(ivec) CompositeConstruct 28 28 28 28 28 31: 7(ivec) ExtInst 1(GLSL.std.450) 45(SClamp) 26 29 30 Store 9(vi) 31 32: 7(ivec) Load 9(vi) 33: 7(ivec) Load 9(vi) 34: 7(ivec) Load 9(vi) 35: 7(ivec) ExtInst 1(GLSL.std.450) 45(SClamp) 32 33 34 Store 9(vi) 35 36: 7(ivec) Load 9(vi) 37: 7(ivec) Load 9(vi) 42: 39(bvec) Load 41(vb) 43: 7(ivec) Select 42 37 36 Store 9(vi) 43 44: 7(ivec) Load 9(vi) 45: 7(ivec) Load 9(vi) 46: 39(bvec) SLessThan 44 45 Store 41(vb) 46 47: 7(ivec) Load 9(vi) 48: 7(ivec) Load 9(vi) 49: 39(bvec) SLessThanEqual 47 48 Store 41(vb) 49 50: 7(ivec) Load 9(vi) 51: 7(ivec) Load 9(vi) 52: 39(bvec) SGreaterThan 50 51 Store 41(vb) 52 53: 7(ivec) Load 9(vi) 54: 7(ivec) Load 9(vi) 55: 39(bvec) SGreaterThanEqual 53 54 Store 41(vb) 55 56: 7(ivec) Load 9(vi) 57: 7(ivec) Load 9(vi) 58: 39(bvec) IEqual 56 57 Store 41(vb) 58 59: 7(ivec) Load 9(vi) 60: 7(ivec) Load 9(vi) 61: 39(bvec) INotEqual 59 60 Store 41(vb) 61 62: 7(ivec) Load 9(vi) 63: 7(ivec) Load 9(vi) 67: 66(ResType) SMulExtended 62 63 68: 7(ivec) CompositeExtract 67 0 Store 65(tempArg) 68 69: 7(ivec) CompositeExtract 67 1 Store 64(tempArg) 69 70: 7(ivec) Load 64(tempArg) Store 9(vi) 70 71: 7(ivec) Load 65(tempArg) Store 9(vi) 71 72: 7(ivec) Load 9(vi) 73: 6(int) Load 12(i) 74: 6(int) Load 12(i) 75: 7(ivec) BitFieldSExtract 72 73 74 Store 9(vi) 75 76: 7(ivec) Load 9(vi) 77: 7(ivec) Load 9(vi) 78: 6(int) Load 12(i) 79: 6(int) Load 12(i) 80: 7(ivec) BitFieldInsert 76 77 78 79 Store 9(vi) 80 81: 7(ivec) Load 9(vi) 82: 7(ivec) BitReverse 81 Store 9(vi) 82 83: 7(ivec) Load 9(vi) 84: 7(ivec) BitCount 83 Store 9(vi) 84 85: 7(ivec) Load 9(vi) 86: 7(ivec) ExtInst 1(GLSL.std.450) 73(FindILsb) 85 Store 9(vi) 86 87: 7(ivec) Load 9(vi) 88: 7(ivec) ExtInst 1(GLSL.std.450) 74(FindSMsb) 87 Store 9(vi) 88 89: 7(ivec) Load 9(vi) 90: 7(ivec) Load 9(vi) 91: 39(bvec) Load 41(vb) 92: 7(ivec) Select 91 90 89 Store 9(vi) 92 93: 39(bvec) Load 41(vb) 94: 39(bvec) Load 41(vb) 95: 39(bvec) Load 41(vb) 96: 39(bvec) Select 95 94 93 Store 41(vb) 96 97: 7(ivec) Load 9(vi) 98: 7(ivec) Load 9(vi) 99: 7(ivec) ExpectKHR 97 98 Store 9(vi) 99 Return FunctionEnd