• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.specConstant.int8.comp
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 18
5
6                              Capability Shader
7                              Capability Int8
8                              Capability UniformAndStorageBuffer8BitAccess
9                              Extension  "SPV_KHR_8bit_storage"
10               1:             ExtInstImport  "GLSL.std.450"
11                              MemoryModel Logical GLSL450
12                              EntryPoint GLCompute 4  "main"
13                              ExecutionMode 4 LocalSize 1 1 1
14                              Source GLSL 450
15                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_int8"
16                              Name 4  "main"
17                              Name 7  "Output"
18                              MemberName 7(Output) 0  "r0"
19                              MemberName 7(Output) 1  "r1"
20                              Name 9  "sb_out"
21                              Name 12  "sc0"
22                              Name 16  "sc1"
23                              MemberDecorate 7(Output) 0 NonReadable
24                              MemberDecorate 7(Output) 0 Offset 0
25                              MemberDecorate 7(Output) 1 NonReadable
26                              MemberDecorate 7(Output) 1 Offset 1
27                              Decorate 7(Output) BufferBlock
28                              Decorate 9(sb_out) DescriptorSet 0
29                              Decorate 9(sb_out) Binding 0
30                              Decorate 12(sc0) SpecId 1
31                              Decorate 16(sc1) SpecId 2
32               2:             TypeVoid
33               3:             TypeFunction 2
34               6:             TypeInt 8 1
35       7(Output):             TypeStruct 6(int8_t) 6(int8_t)
36               8:             TypePointer Uniform 7(Output)
37       9(sb_out):      8(ptr) Variable Uniform
38              10:             TypeInt 32 1
39              11:     10(int) Constant 0
40         12(sc0):   6(int8_t) SpecConstant 127
41              13:             TypePointer Uniform 6(int8_t)
42              15:     10(int) Constant 1
43         16(sc1):   6(int8_t) SpecConstant 4294967169
44         4(main):           2 Function None 3
45               5:             Label
46              14:     13(ptr) AccessChain 9(sb_out) 11
47                              Store 14 12(sc0)
48              17:     13(ptr) AccessChain 9(sb_out) 15
49                              Store 17 16(sc1)
50                              Return
51                              FunctionEnd
52