yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
5073d93e
main
1spv.ssbo.autoassign.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 99 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 92 95 10 ExecutionMode 4 OriginUpperLeft 11 Source HLSL 500 12 Name 4 "main" 13 Name 11 "@main(vf4;" 14 Name 10 "pos" 15 Name 13 "vTmp" 16 Name 14 "BufType" 17 MemberName 14(BufType) 0 "va" 18 MemberName 14(BufType) 1 "vb" 19 Name 16 "SB0" 20 MemberName 16(SB0) 0 "@data" 21 Name 18 "SB0" 22 Name 26 "TestCB" 23 MemberName 26(TestCB) 0 "W" 24 MemberName 26(TestCB) 1 "H" 25 Name 28 "" 26 Name 57 "SB1" 27 MemberName 57(SB1) 0 "@data" 28 Name 59 "SB1" 29 Name 90 "pos" 30 Name 92 "pos" 31 Name 95 "@entryPointOutput" 32 Name 96 "param" 33 MemberDecorate 14(BufType) 0 Offset 0 34 MemberDecorate 14(BufType) 1 Offset 16 35 Decorate 15 ArrayStride 32 36 Decorate 16(SB0) BufferBlock 37 MemberDecorate 16(SB0) 0 NonWritable 38 MemberDecorate 16(SB0) 0 Offset 0 39 Decorate 18(SB0) NonWritable 40 Decorate 18(SB0) Binding 30 41 Decorate 18(SB0) DescriptorSet 0 42 Decorate 26(TestCB) Block 43 MemberDecorate 26(TestCB) 0 Offset 0 44 MemberDecorate 26(TestCB) 1 Offset 4 45 Decorate 28 Binding 15 46 Decorate 28 DescriptorSet 0 47 Decorate 56 ArrayStride 32 48 Decorate 57(SB1) BufferBlock 49 MemberDecorate 57(SB1) 0 Offset 0 50 Decorate 59(SB1) Binding 31 51 Decorate 59(SB1) DescriptorSet 0 52 Decorate 92(pos) Location 0 53 Decorate 95(@entryPointOutput) Location 0 54 2: TypeVoid 55 3: TypeFunction 2 56 6: TypeFloat 32 57 7: TypeVector 6(float) 4 58 8: TypePointer Function 7(fvec4) 59 9: TypeFunction 7(fvec4) 8(ptr) 60 14(BufType): TypeStruct 7(fvec4) 7(fvec4) 61 15: TypeRuntimeArray 14(BufType) 62 16(SB0): TypeStruct 15 63 17: TypePointer Uniform 16(SB0) 64 18(SB0): 17(ptr) Variable Uniform 65 19: TypeInt 32 1 66 20: 19(int) Constant 0 67 21: TypeInt 32 0 68 22: 21(int) Constant 1 69 23: TypePointer Function 6(float) 70 26(TestCB): TypeStruct 21(int) 21(int) 71 27: TypePointer Uniform 26(TestCB) 72 28: 27(ptr) Variable Uniform 73 29: TypePointer Uniform 21(int) 74 34: 21(int) Constant 0 75 39: TypePointer Uniform 7(fvec4) 76 52: 19(int) Constant 1 77 56: TypeRuntimeArray 14(BufType) 78 57(SB1): TypeStruct 56 79 58: TypePointer Uniform 57(SB1) 80 59(SB1): 58(ptr) Variable Uniform 81 91: TypePointer Input 7(fvec4) 82 92(pos): 91(ptr) Variable Input 83 94: TypePointer Output 7(fvec4) 8495(@entryPointOutput): 94(ptr) Variable Output 85 4(main): 2 Function None 3 86 5: Label 87 90(pos): 8(ptr) Variable Function 88 96(param): 8(ptr) Variable Function 89 93: 7(fvec4) Load 92(pos) 90 Store 90(pos) 93 91 97: 7(fvec4) Load 90(pos) 92 Store 96(param) 97 93 98: 7(fvec4) FunctionCall 11(@main(vf4;) 96(param) 94 Store 95(@entryPointOutput) 98 95 Return 96 FunctionEnd 97 11(@main(vf4;): 7(fvec4) Function None 9 98 10(pos): 8(ptr) FunctionParameter 99 12: Label 100 13(vTmp): 8(ptr) Variable Function 101 24: 23(ptr) AccessChain 10(pos) 22 102 25: 6(float) Load 24 103 30: 29(ptr) AccessChain 28 20 104 31: 21(int) Load 30 105 32: 6(float) ConvertUToF 31 106 33: 6(float) FMul 25 32 107 35: 23(ptr) AccessChain 10(pos) 34 108 36: 6(float) Load 35 109 37: 6(float) FAdd 33 36 110 38: 21(int) ConvertFToU 37 111 40: 39(ptr) AccessChain 18(SB0) 20 38 20 112 41: 7(fvec4) Load 40 113 42: 23(ptr) AccessChain 10(pos) 22 114 43: 6(float) Load 42 115 44: 29(ptr) AccessChain 28 20 116 45: 21(int) Load 44 117 46: 6(float) ConvertUToF 45 118 47: 6(float) FMul 43 46 119 48: 23(ptr) AccessChain 10(pos) 34 120 49: 6(float) Load 48 121 50: 6(float) FAdd 47 49 122 51: 21(int) ConvertFToU 50 123 53: 39(ptr) AccessChain 18(SB0) 20 51 52 124 54: 7(fvec4) Load 53 125 55: 7(fvec4) FAdd 41 54 126 Store 13(vTmp) 55 127 60: 23(ptr) AccessChain 10(pos) 22 128 61: 6(float) Load 60 129 62: 29(ptr) AccessChain 28 20 130 63: 21(int) Load 62 131 64: 6(float) ConvertUToF 63 132 65: 6(float) FMul 61 64 133 66: 23(ptr) AccessChain 10(pos) 34 134 67: 6(float) Load 66 135 68: 6(float) FAdd 65 67 136 69: 21(int) ConvertFToU 68 137 70: 39(ptr) AccessChain 59(SB1) 20 69 20 138 71: 7(fvec4) Load 70 139 72: 23(ptr) AccessChain 10(pos) 22 140 73: 6(float) Load 72 141 74: 29(ptr) AccessChain 28 20 142 75: 21(int) Load 74 143 76: 6(float) ConvertUToF 75 144 77: 6(float) FMul 73 76 145 78: 23(ptr) AccessChain 10(pos) 34 146 79: 6(float) Load 78 147 80: 6(float) FAdd 77 79 148 81: 21(int) ConvertFToU 80 149 82: 39(ptr) AccessChain 59(SB1) 20 81 52 150 83: 7(fvec4) Load 82 151 84: 7(fvec4) FAdd 71 83 152 85: 7(fvec4) Load 13(vTmp) 153 86: 7(fvec4) FAdd 85 84 154 Store 13(vTmp) 86 155 87: 7(fvec4) Load 13(vTmp) 156 ReturnValue 87 157 FunctionEnd