yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
10ae0e16
main
1spv.qcom.es.tileShading.1.comp 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 93 5 6 Capability Shader 7 Capability TileShadingQCOM 8 Extension "SPV_QCOM_tile_shading" 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint GLCompute 4 "main" 12 16 19 12 ExecutionMode 4 TileShadingRateQCOM 2 2 1 13 Source ESSL 310 14 SourceExtension "GL_QCOM_tile_shading" 15 Name 4 "main" 16 Name 9 "uoffset" 17 Name 12 "gl_GlobalInvocationID" 18 Name 16 "gl_TileOffsetQCOM" 19 Name 19 "gl_TileDimensionQCOM" 20 Name 30 "offset" 21 Name 36 "colorA" 22 Name 39 "color0" 23 Name 43 "colorC" 24 Name 44 "input0" 25 Name 49 "d" 26 Name 50 "depth" 27 Name 57 "s" 28 Name 59 "outColor" 29 Name 68 "outDepth" 30 Name 72 "outStencil" 31 Name 77 "color1" 32 Name 85 "stencil" 33 Decorate 12(gl_GlobalInvocationID) BuiltIn GlobalInvocationId 34 Decorate 16(gl_TileOffsetQCOM) BuiltIn TileOffsetQCOM 35 Decorate 19(gl_TileDimensionQCOM) BuiltIn TileDimensionQCOM 36 Decorate 39(color0) NonWritable 37 Decorate 39(color0) Binding 1 38 Decorate 39(color0) DescriptorSet 0 39 Decorate 44(input0) NonWritable 40 Decorate 44(input0) Binding 0 41 Decorate 44(input0) DescriptorSet 0 42 Decorate 50(depth) NonWritable 43 Decorate 50(depth) Binding 3 44 Decorate 50(depth) DescriptorSet 0 45 Decorate 77(color1) NonReadable 46 Decorate 77(color1) Binding 2 47 Decorate 77(color1) DescriptorSet 0 48 Decorate 85(stencil) NonReadable 49 Decorate 85(stencil) Binding 4 50 Decorate 85(stencil) DescriptorSet 0 51 Decorate 92 BuiltIn WorkgroupSize 52 2: TypeVoid 53 3: TypeFunction 2 54 6: TypeInt 32 0 55 7: TypeVector 6(int) 2 56 8: TypePointer Function 7(ivec2) 57 10: TypeVector 6(int) 3 58 11: TypePointer Input 10(ivec3) 5912(gl_GlobalInvocationID): 11(ptr) Variable Input 60 15: TypePointer Input 7(ivec2) 6116(gl_TileOffsetQCOM): 15(ptr) Variable Input 6219(gl_TileDimensionQCOM): 11(ptr) Variable Input 63 23: 6(int) Constant 1 64 24: 7(ivec2) ConstantComposite 23 23 65 27: TypeInt 32 1 66 28: TypeVector 27(int) 2 67 29: TypePointer Function 28(ivec2) 68 33: TypeFloat 32 69 34: TypeVector 33(float) 4 70 35: TypePointer Function 34(fvec4) 71 37: TypeImage 33(float) 2D nonsampled format:Rgba32f 72 38: TypePointer TileAttachmentQCOM 37 73 39(color0): 38(ptr) Variable TileAttachmentQCOM 74 44(input0): 38(ptr) Variable TileAttachmentQCOM 75 48: TypePointer Function 33(float) 76 50(depth): 38(ptr) Variable TileAttachmentQCOM 77 54: 6(int) Constant 0 78 56: TypePointer Function 6(int) 79 58: 6(int) Constant 2 80 61: 33(float) Constant 1065353216 81 62: 34(fvec4) ConstantComposite 61 61 61 61 82 66: 33(float) Constant 1051260355 83 70: 33(float) Constant 1073741824 84 75: TypeImage 27(int) 2D nonsampled format:Rgba32i 85 76: TypePointer TileAttachmentQCOM 75 86 77(color1): 76(ptr) Variable TileAttachmentQCOM 87 81: TypeVector 27(int) 4 88 83: TypeImage 6(int) 2D nonsampled format:Rgba32ui 89 84: TypePointer TileAttachmentQCOM 83 90 85(stencil): 84(ptr) Variable TileAttachmentQCOM 91 89: TypeVector 6(int) 4 92 91: 6(int) Constant 16 93 92: 10(ivec3) ConstantComposite 91 91 23 94 4(main): 2 Function None 3 95 5: Label 96 9(uoffset): 8(ptr) Variable Function 97 30(offset): 29(ptr) Variable Function 98 36(colorA): 35(ptr) Variable Function 99 43(colorC): 35(ptr) Variable Function 100 49(d): 48(ptr) Variable Function 101 57(s): 56(ptr) Variable Function 102 59(outColor): 35(ptr) Variable Function 103 68(outDepth): 48(ptr) Variable Function 104 72(outStencil): 56(ptr) Variable Function 105 13: 10(ivec3) Load 12(gl_GlobalInvocationID) 106 14: 7(ivec2) VectorShuffle 13 13 0 1 107 17: 7(ivec2) Load 16(gl_TileOffsetQCOM) 108 18: 7(ivec2) Load 16(gl_TileOffsetQCOM) 109 20: 10(ivec3) Load 19(gl_TileDimensionQCOM) 110 21: 7(ivec2) VectorShuffle 20 20 0 1 111 22: 7(ivec2) IAdd 18 21 112 25: 7(ivec2) ISub 22 24 113 26: 7(ivec2) ExtInst 1(GLSL.std.450) 44(UClamp) 14 17 25 114 Store 9(uoffset) 26 115 31: 7(ivec2) Load 9(uoffset) 116 32: 28(ivec2) Bitcast 31 117 Store 30(offset) 32 118 40: 37 Load 39(color0) 119 41: 28(ivec2) Load 30(offset) 120 42: 34(fvec4) ImageRead 40 41 121 Store 36(colorA) 42 122 45: 37 Load 44(input0) 123 46: 28(ivec2) Load 30(offset) 124 47: 34(fvec4) ImageRead 45 46 125 Store 43(colorC) 47 126 51: 37 Load 50(depth) 127 52: 28(ivec2) Load 30(offset) 128 53: 34(fvec4) ImageRead 51 52 129 55: 33(float) CompositeExtract 53 0 130 Store 49(d) 55 131 Store 57(s) 58 132 60: 34(fvec4) Load 36(colorA) 133 63: 34(fvec4) FAdd 60 62 134 64: 34(fvec4) Load 43(colorC) 135 65: 34(fvec4) FAdd 63 64 136 67: 34(fvec4) VectorTimesScalar 65 66 137 Store 59(outColor) 67 138 69: 33(float) Load 49(d) 139 71: 33(float) FMul 69 70 140 Store 68(outDepth) 71 141 73: 6(int) Load 57(s) 142 74: 6(int) IAdd 73 23 143 Store 72(outStencil) 74 144 78: 75 Load 77(color1) 145 79: 28(ivec2) Load 30(offset) 146 80: 34(fvec4) Load 59(outColor) 147 82: 81(ivec4) ConvertFToS 80 148 ImageWrite 78 79 82 149 86: 83 Load 85(stencil) 150 87: 28(ivec2) Load 30(offset) 151 88: 6(int) Load 72(outStencil) 152 90: 89(ivec4) CompositeConstruct 88 88 88 88 153 ImageWrite 86 87 90 154 Return 155 FunctionEnd