1spv.smBuiltins.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 20
5
6                              Capability Shader
7                              Capability ShaderSMBuiltinsNV
8                              Extension  "SPV_NV_shader_sm_builtins"
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Fragment 4  "main" 9 11 13 15 17
12                              ExecutionMode 4 OriginUpperLeft
13                              Source GLSL 450
14                              SourceExtension  "GL_NV_shader_sm_builtins"
15                              Name 4  "main"
16                              Name 9  "data"
17                              Name 11  "gl_WarpsPerSMNV"
18                              Name 13  "gl_SMCountNV"
19                              Name 15  "gl_WarpIDNV"
20                              Name 17  "gl_SMIDNV"
21                              Decorate 9(data) Location 0
22                              Decorate 11(gl_WarpsPerSMNV) Flat
23                              Decorate 11(gl_WarpsPerSMNV) BuiltIn WarpsPerSMNV
24                              Decorate 13(gl_SMCountNV) Flat
25                              Decorate 13(gl_SMCountNV) BuiltIn SMCountNV
26                              Decorate 15(gl_WarpIDNV) Flat
27                              Decorate 15(gl_WarpIDNV) BuiltIn WarpIDNV
28                              Decorate 17(gl_SMIDNV) Flat
29                              Decorate 17(gl_SMIDNV) BuiltIn SMIDNV
30               2:             TypeVoid
31               3:             TypeFunction 2
32               6:             TypeInt 32 0
33               7:             TypeVector 6(int) 4
34               8:             TypePointer Output 7(ivec4)
35         9(data):      8(ptr) Variable Output
36              10:             TypePointer Input 6(int)
3711(gl_WarpsPerSMNV):     10(ptr) Variable Input
3813(gl_SMCountNV):     10(ptr) Variable Input
39 15(gl_WarpIDNV):     10(ptr) Variable Input
40   17(gl_SMIDNV):     10(ptr) Variable Input
41         4(main):           2 Function None 3
42               5:             Label
43              12:      6(int) Load 11(gl_WarpsPerSMNV)
44              14:      6(int) Load 13(gl_SMCountNV)
45              16:      6(int) Load 15(gl_WarpIDNV)
46              18:      6(int) Load 17(gl_SMIDNV)
47              19:    7(ivec4) CompositeConstruct 12 14 16 18
48                              Store 9(data) 19
49                              Return
50                              FunctionEnd
51