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