spv.qcom.es.tileShading.0.comp // Module Version 10000 // Generated by (magic number): 8000b // Id's are bound by 93 Capability Shader Capability TileShadingQCOM Extension "SPV_QCOM_tile_shading" 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint GLCompute 4 "main" 12 16 19 ExecutionMode 4 LocalSize 16 16 1 Source ESSL 310 SourceExtension "GL_QCOM_tile_shading" Name 4 "main" Name 9 "uoffset" Name 12 "gl_GlobalInvocationID" Name 16 "gl_TileOffsetQCOM" Name 19 "gl_TileDimensionQCOM" Name 30 "offset" Name 36 "colorA" Name 39 "color0" Name 43 "colorC" Name 44 "input0" Name 49 "d" Name 50 "depth" Name 57 "s" Name 59 "outColor" Name 68 "outDepth" Name 72 "outStencil" Name 77 "color1" Name 85 "stencil" Decorate 12(gl_GlobalInvocationID) BuiltIn GlobalInvocationId Decorate 16(gl_TileOffsetQCOM) BuiltIn TileOffsetQCOM Decorate 19(gl_TileDimensionQCOM) BuiltIn TileDimensionQCOM Decorate 39(color0) NonWritable Decorate 39(color0) Binding 1 Decorate 39(color0) DescriptorSet 0 Decorate 44(input0) NonWritable Decorate 44(input0) Binding 0 Decorate 44(input0) DescriptorSet 0 Decorate 50(depth) NonWritable Decorate 50(depth) Binding 3 Decorate 50(depth) DescriptorSet 0 Decorate 77(color1) NonReadable Decorate 77(color1) Binding 2 Decorate 77(color1) DescriptorSet 0 Decorate 85(stencil) NonReadable Decorate 85(stencil) Binding 4 Decorate 85(stencil) DescriptorSet 0 Decorate 92 BuiltIn WorkgroupSize 2: TypeVoid 3: TypeFunction 2 6: TypeInt 32 0 7: TypeVector 6(int) 2 8: TypePointer Function 7(ivec2) 10: TypeVector 6(int) 3 11: TypePointer Input 10(ivec3) 12(gl_GlobalInvocationID): 11(ptr) Variable Input 15: TypePointer Input 7(ivec2) 16(gl_TileOffsetQCOM): 15(ptr) Variable Input 19(gl_TileDimensionQCOM): 11(ptr) Variable Input 23: 6(int) Constant 1 24: 7(ivec2) ConstantComposite 23 23 27: TypeInt 32 1 28: TypeVector 27(int) 2 29: TypePointer Function 28(ivec2) 33: TypeFloat 32 34: TypeVector 33(float) 4 35: TypePointer Function 34(fvec4) 37: TypeImage 33(float) 2D nonsampled format:Rgba32f 38: TypePointer TileAttachmentQCOM 37 39(color0): 38(ptr) Variable TileAttachmentQCOM 44(input0): 38(ptr) Variable TileAttachmentQCOM 48: TypePointer Function 33(float) 50(depth): 38(ptr) Variable TileAttachmentQCOM 54: 6(int) Constant 0 56: TypePointer Function 6(int) 58: 6(int) Constant 2 61: 33(float) Constant 1065353216 62: 34(fvec4) ConstantComposite 61 61 61 61 66: 33(float) Constant 1051260355 70: 33(float) Constant 1073741824 75: TypeImage 27(int) 2D nonsampled format:Rgba32i 76: TypePointer TileAttachmentQCOM 75 77(color1): 76(ptr) Variable TileAttachmentQCOM 81: TypeVector 27(int) 4 83: TypeImage 6(int) 2D nonsampled format:Rgba32ui 84: TypePointer TileAttachmentQCOM 83 85(stencil): 84(ptr) Variable TileAttachmentQCOM 89: TypeVector 6(int) 4 91: 6(int) Constant 16 92: 10(ivec3) ConstantComposite 91 91 23 4(main): 2 Function None 3 5: Label 9(uoffset): 8(ptr) Variable Function 30(offset): 29(ptr) Variable Function 36(colorA): 35(ptr) Variable Function 43(colorC): 35(ptr) Variable Function 49(d): 48(ptr) Variable Function 57(s): 56(ptr) Variable Function 59(outColor): 35(ptr) Variable Function 68(outDepth): 48(ptr) Variable Function 72(outStencil): 56(ptr) Variable Function 13: 10(ivec3) Load 12(gl_GlobalInvocationID) 14: 7(ivec2) VectorShuffle 13 13 0 1 17: 7(ivec2) Load 16(gl_TileOffsetQCOM) 18: 7(ivec2) Load 16(gl_TileOffsetQCOM) 20: 10(ivec3) Load 19(gl_TileDimensionQCOM) 21: 7(ivec2) VectorShuffle 20 20 0 1 22: 7(ivec2) IAdd 18 21 25: 7(ivec2) ISub 22 24 26: 7(ivec2) ExtInst 1(GLSL.std.450) 44(UClamp) 14 17 25 Store 9(uoffset) 26 31: 7(ivec2) Load 9(uoffset) 32: 28(ivec2) Bitcast 31 Store 30(offset) 32 40: 37 Load 39(color0) 41: 28(ivec2) Load 30(offset) 42: 34(fvec4) ImageRead 40 41 Store 36(colorA) 42 45: 37 Load 44(input0) 46: 28(ivec2) Load 30(offset) 47: 34(fvec4) ImageRead 45 46 Store 43(colorC) 47 51: 37 Load 50(depth) 52: 28(ivec2) Load 30(offset) 53: 34(fvec4) ImageRead 51 52 55: 33(float) CompositeExtract 53 0 Store 49(d) 55 Store 57(s) 58 60: 34(fvec4) Load 36(colorA) 63: 34(fvec4) FAdd 60 62 64: 34(fvec4) Load 43(colorC) 65: 34(fvec4) FAdd 63 64 67: 34(fvec4) VectorTimesScalar 65 66 Store 59(outColor) 67 69: 33(float) Load 49(d) 71: 33(float) FMul 69 70 Store 68(outDepth) 71 73: 6(int) Load 57(s) 74: 6(int) IAdd 73 23 Store 72(outStencil) 74 78: 75 Load 77(color1) 79: 28(ivec2) Load 30(offset) 80: 34(fvec4) Load 59(outColor) 82: 81(ivec4) ConvertFToS 80 ImageWrite 78 79 82 86: 83 Load 85(stencil) 87: 28(ivec2) Load 30(offset) 88: 6(int) Load 72(outStencil) 90: 89(ivec4) CompositeConstruct 88 88 88 88 ImageWrite 86 87 90 Return FunctionEnd