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