• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.ARMCoreBuiltIns.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 26
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 Fragment 4  "main" 10 14 15 17 19 21
12                              ExecutionMode 4 OriginUpperLeft
13                              Source GLSL 450
14                              SourceExtension  "GL_ARM_shader_core_builtins"
15                              Name 4  "main"
16                              Name 8  "temp"
17                              Name 10  "gl_WarpMaxIDARM"
18                              Name 14  "data"
19                              Name 15  "gl_CoreIDARM"
20                              Name 17  "gl_CoreCountARM"
21                              Name 19  "gl_CoreMaxIDARM"
22                              Name 21  "gl_WarpIDARM"
23                              Decorate 10(gl_WarpMaxIDARM) Flat
24                              Decorate 10(gl_WarpMaxIDARM) BuiltIn BuiltInWarpMaxIDARM
25                              Decorate 14(data) Location 0
26                              Decorate 15(gl_CoreIDARM) Flat
27                              Decorate 15(gl_CoreIDARM) BuiltIn CoreIDARM
28                              Decorate 17(gl_CoreCountARM) Flat
29                              Decorate 17(gl_CoreCountARM) BuiltIn CoreCountARM
30                              Decorate 19(gl_CoreMaxIDARM) Flat
31                              Decorate 19(gl_CoreMaxIDARM) BuiltIn CoreMaxIDARM
32                              Decorate 21(gl_WarpIDARM) Flat
33                              Decorate 21(gl_WarpIDARM) BuiltIn WarpIDARM
34               2:             TypeVoid
35               3:             TypeFunction 2
36               6:             TypeInt 32 0
37               7:             TypePointer Function 6(int)
38               9:             TypePointer Input 6(int)
3910(gl_WarpMaxIDARM):      9(ptr) Variable Input
40              12:             TypeVector 6(int) 4
41              13:             TypePointer Output 12(ivec4)
42        14(data):     13(ptr) Variable Output
4315(gl_CoreIDARM):      9(ptr) Variable Input
4417(gl_CoreCountARM):      9(ptr) Variable Input
4519(gl_CoreMaxIDARM):      9(ptr) Variable Input
4621(gl_WarpIDARM):      9(ptr) Variable Input
47         4(main):           2 Function None 3
48               5:             Label
49         8(temp):      7(ptr) Variable Function
50              11:      6(int) Load 10(gl_WarpMaxIDARM)
51                              Store 8(temp) 11
52              16:      6(int) Load 15(gl_CoreIDARM)
53              18:      6(int) Load 17(gl_CoreCountARM)
54              20:      6(int) Load 19(gl_CoreMaxIDARM)
55              22:      6(int) Load 21(gl_WarpIDARM)
56              23:      6(int) Load 8(temp)
57              24:      6(int) IAdd 22 23
58              25:   12(ivec4) CompositeConstruct 16 18 20 24
59                              Store 14(data) 25
60                              Return
61                              FunctionEnd
62