• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.specConstantOp.int16.comp
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 20
5
6                              Capability Shader
7                              Capability Int16
8                              Capability StorageUniformBufferBlock16
9                              Extension  "SPV_KHR_16bit_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_int16"
16                              Name 4  "main"
17                              Name 8  "S"
18                              MemberName 8(S) 0  "p_out"
19                              Name 10  ""
20                              Name 13  "c"
21                              Decorate 7 ArrayStride 2
22                              MemberDecorate 8(S) 0 Restrict
23                              MemberDecorate 8(S) 0 NonReadable
24                              MemberDecorate 8(S) 0 Offset 0
25                              Decorate 8(S) BufferBlock
26                              Decorate 10 DescriptorSet 0
27                              Decorate 10 Binding 0
28                              Decorate 13(c) SpecId 0
29               2:             TypeVoid
30               3:             TypeFunction 2
31               6:             TypeInt 16 0
32               7:             TypeRuntimeArray 6(int16_t)
33            8(S):             TypeStruct 7
34               9:             TypePointer Uniform 8(S)
35              10:      9(ptr) Variable Uniform
36              11:             TypeInt 32 1
37              12:     11(int) Constant 0
38           13(c):     11(int) SpecConstant 8
39              14:             TypeInt 16 1
40              15: 14(int16_t) SpecConstantOp 114 13(c)
41              16:  6(int16_t) Constant 0
42              17:  6(int16_t) SpecConstantOp 128 15 16
43              18:             TypePointer Uniform 6(int16_t)
44         4(main):           2 Function None 3
45               5:             Label
46              19:     18(ptr) AccessChain 10 12 12
47                              Store 19 17
48                              Return
49                              FunctionEnd
50