spv.tensorARM.frag // Module Version 10000 // Generated by (magic number): 8000b // Id's are bound by 55 Capability Shader Capability Int8 Capability TensorsARM Extension "SPV_ARM_tensors" 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "main" 25 49 ExecutionMode 4 OriginUpperLeft Source GLSL 450 SourceExtension "GL_ARM_tensors" SourceExtension "GL_EXT_shader_explicit_arithmetic_types" Name 4 "main" Name 8 "size_d1" Name 13 "tens" Name 17 "size_d2" Name 21 "coord_x" Name 25 "gl_FragCoord" Name 33 "coord_y" Name 40 "tensorValue" Name 49 "outColor" Decorate 13(tens) Binding 0 Decorate 13(tens) DescriptorSet 0 Decorate 25(gl_FragCoord) BuiltIn FragCoord Decorate 49(outColor) Location 0 2: TypeVoid 3: TypeFunction 2 6: TypeInt 32 0 7: TypePointer Function 6(int) 9: TypeInt 8 0 10: 6(int) Constant 3 11: TypeTensorARM 9(int8_t) 10 12: TypePointer UniformConstant 11 13(tens): 12(ptr) Variable UniformConstant 15: 6(int) Constant 1 19: 6(int) Constant 2 22: TypeFloat 32 23: TypeVector 22(float) 4 24: TypePointer Input 23(fvec4) 25(gl_FragCoord): 24(ptr) Variable Input 26: 6(int) Constant 0 27: TypePointer Input 22(float) 39: TypePointer Function 9(int8_t) 41: 9(int8_t) Constant 0 45: TypeArray 6(int) 10 48: TypePointer Output 23(fvec4) 49(outColor): 48(ptr) Variable Output 50: 22(float) Constant 0 53: 22(float) Constant 1132396544 4(main): 2 Function None 3 5: Label 8(size_d1): 7(ptr) Variable Function 17(size_d2): 7(ptr) Variable Function 21(coord_x): 7(ptr) Variable Function 33(coord_y): 7(ptr) Variable Function 40(tensorValue): 39(ptr) Variable Function 14: 11 Load 13(tens) 16: 6(int) TensorQuerySizeARM 14 15 Store 8(size_d1) 16 18: 11 Load 13(tens) 20: 6(int) TensorQuerySizeARM 18 19 Store 17(size_d2) 20 28: 27(ptr) AccessChain 25(gl_FragCoord) 26 29: 22(float) Load 28 30: 6(int) ConvertFToU 29 31: 6(int) Load 8(size_d1) 32: 6(int) UMod 30 31 Store 21(coord_x) 32 34: 27(ptr) AccessChain 25(gl_FragCoord) 15 35: 22(float) Load 34 36: 6(int) ConvertFToU 35 37: 6(int) Load 17(size_d2) 38: 6(int) UMod 36 37 Store 33(coord_y) 38 Store 40(tensorValue) 41 42: 11 Load 13(tens) 43: 6(int) Load 33(coord_y) 44: 6(int) Load 21(coord_x) 46: 45 CompositeConstruct 43 44 15 47: 9(int8_t) TensorReadARM 42 46 Store 40(tensorValue) 47 51: 9(int8_t) Load 40(tensorValue) 52: 22(float) ConvertUToF 51 54: 23(fvec4) CompositeConstruct 50 52 50 53 Store 49(outColor) 54 Return FunctionEnd