• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.ARMCoreBuiltIns.vert
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 31
5
6                              Capability Shader
7                              Capability CoreBuiltinsARM
8                              Extension  "SPV_ARM_core_builtins"
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Vertex 4  "main" 10 18 20 22 24
12                              Source GLSL 450
13                              SourceExtension  "GL_ARM_shader_core_builtins"
14                              Name 4  "main"
15                              Name 8  "temp"
16                              Name 10  "gl_WarpMaxIDARM"
17                              Name 13  "Output"
18                              MemberName 13(Output) 0  "result"
19                              Name 15  ""
20                              Name 18  "gl_CoreIDARM"
21                              Name 20  "gl_CoreCountARM"
22                              Name 22  "gl_CoreMaxIDARM"
23                              Name 24  "gl_WarpIDARM"
24                              Decorate 10(gl_WarpMaxIDARM) BuiltIn BuiltInWarpMaxIDARM
25                              MemberDecorate 13(Output) 0 Offset 0
26                              Decorate 13(Output) BufferBlock
27                              Decorate 15 DescriptorSet 0
28                              Decorate 15 Binding 0
29                              Decorate 18(gl_CoreIDARM) BuiltIn CoreIDARM
30                              Decorate 20(gl_CoreCountARM) BuiltIn CoreCountARM
31                              Decorate 22(gl_CoreMaxIDARM) BuiltIn CoreMaxIDARM
32                              Decorate 24(gl_WarpIDARM) BuiltIn WarpIDARM
33               2:             TypeVoid
34               3:             TypeFunction 2
35               6:             TypeInt 32 0
36               7:             TypePointer Function 6(int)
37               9:             TypePointer Input 6(int)
3810(gl_WarpMaxIDARM):      9(ptr) Variable Input
39              12:             TypeVector 6(int) 4
40      13(Output):             TypeStruct 12(ivec4)
41              14:             TypePointer Uniform 13(Output)
42              15:     14(ptr) Variable Uniform
43              16:             TypeInt 32 1
44              17:     16(int) Constant 0
4518(gl_CoreIDARM):      9(ptr) Variable Input
4620(gl_CoreCountARM):      9(ptr) Variable Input
4722(gl_CoreMaxIDARM):      9(ptr) Variable Input
4824(gl_WarpIDARM):      9(ptr) Variable Input
49              29:             TypePointer Uniform 12(ivec4)
50         4(main):           2 Function None 3
51               5:             Label
52         8(temp):      7(ptr) Variable Function
53              11:      6(int) Load 10(gl_WarpMaxIDARM)
54                              Store 8(temp) 11
55              19:      6(int) Load 18(gl_CoreIDARM)
56              21:      6(int) Load 20(gl_CoreCountARM)
57              23:      6(int) Load 22(gl_CoreMaxIDARM)
58              25:      6(int) Load 24(gl_WarpIDARM)
59              26:      6(int) Load 8(temp)
60              27:      6(int) IAdd 25 26
61              28:   12(ivec4) CompositeConstruct 19 21 23 27
62              30:     29(ptr) AccessChain 15 17
63                              Store 30 28
64                              Return
65                              FunctionEnd
66