1617a3babSopenharmony_cispv.8bit-16bit-construction.frag
2617a3babSopenharmony_ciValidation failed
3617a3babSopenharmony_ci// Module Version 10000
4617a3babSopenharmony_ci// Generated by (magic number): 8000b
5617a3babSopenharmony_ci// Id's are bound by 43
6617a3babSopenharmony_ci
7617a3babSopenharmony_ci                              Capability Shader
8617a3babSopenharmony_ci                              Capability StorageUniformBufferBlock16
9617a3babSopenharmony_ci                              Capability UniformAndStorageBuffer8BitAccess
10617a3babSopenharmony_ci                              Extension  "SPV_KHR_16bit_storage"
11617a3babSopenharmony_ci                              Extension  "SPV_KHR_8bit_storage"
12617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
13617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
14617a3babSopenharmony_ci                              EntryPoint Fragment 4  "main"
15617a3babSopenharmony_ci                              ExecutionMode 4 OriginUpperLeft
16617a3babSopenharmony_ci                              Source GLSL 450
17617a3babSopenharmony_ci                              SourceExtension  "GL_EXT_shader_16bit_storage"
18617a3babSopenharmony_ci                              SourceExtension  "GL_EXT_shader_8bit_storage"
19617a3babSopenharmony_ci                              Name 4  "main"
20617a3babSopenharmony_ci                              Name 11  "B"
21617a3babSopenharmony_ci                              MemberName 11(B) 0  "i8_from_i16"
22617a3babSopenharmony_ci                              MemberName 11(B) 1  "i16_from_i8"
23617a3babSopenharmony_ci                              MemberName 11(B) 2  "u8_from_u16"
24617a3babSopenharmony_ci                              MemberName 11(B) 3  "u16_from_u8"
25617a3babSopenharmony_ci                              MemberName 11(B) 4  "f16_from_i8"
26617a3babSopenharmony_ci                              Name 13  ""
27617a3babSopenharmony_ci                              MemberDecorate 11(B) 0 Offset 0
28617a3babSopenharmony_ci                              MemberDecorate 11(B) 1 Offset 2
29617a3babSopenharmony_ci                              MemberDecorate 11(B) 2 Offset 4
30617a3babSopenharmony_ci                              MemberDecorate 11(B) 3 Offset 6
31617a3babSopenharmony_ci                              MemberDecorate 11(B) 4 Offset 8
32617a3babSopenharmony_ci                              Decorate 11(B) BufferBlock
33617a3babSopenharmony_ci                              Decorate 13 DescriptorSet 0
34617a3babSopenharmony_ci                              Decorate 13 Binding 0
35617a3babSopenharmony_ci               2:             TypeVoid
36617a3babSopenharmony_ci               3:             TypeFunction 2
37617a3babSopenharmony_ci               6:             TypeInt 8 1
38617a3babSopenharmony_ci               7:             TypeInt 16 1
39617a3babSopenharmony_ci               8:             TypeInt 8 0
40617a3babSopenharmony_ci               9:             TypeInt 16 0
41617a3babSopenharmony_ci              10:             TypeFloat 16
42617a3babSopenharmony_ci           11(B):             TypeStruct 6(int8_t) 7(int16_t) 8(int8_t) 9(int16_t) 10(float16_t)
43617a3babSopenharmony_ci              12:             TypePointer Uniform 11(B)
44617a3babSopenharmony_ci              13:     12(ptr) Variable Uniform
45617a3babSopenharmony_ci              14:             TypeInt 32 1
46617a3babSopenharmony_ci              15:     14(int) Constant 0
47617a3babSopenharmony_ci              16:     14(int) Constant 1
48617a3babSopenharmony_ci              19:             TypePointer Uniform 6(int8_t)
49617a3babSopenharmony_ci              23:             TypePointer Uniform 7(int16_t)
50617a3babSopenharmony_ci              25:     14(int) Constant 2
51617a3babSopenharmony_ci              26:             TypeInt 32 0
52617a3babSopenharmony_ci              27:     26(int) Constant 1
53617a3babSopenharmony_ci              30:             TypePointer Uniform 8(int8_t)
54617a3babSopenharmony_ci              32:     14(int) Constant 3
55617a3babSopenharmony_ci              35:             TypePointer Uniform 9(int16_t)
56617a3babSopenharmony_ci              37:     14(int) Constant 4
57617a3babSopenharmony_ci              39:             TypeFloat 32
58617a3babSopenharmony_ci              41:             TypePointer Uniform 10(float16_t)
59617a3babSopenharmony_ci         4(main):           2 Function None 3
60617a3babSopenharmony_ci               5:             Label
61617a3babSopenharmony_ci              17:  7(int16_t) SConvert 16
62617a3babSopenharmony_ci              18:   6(int8_t) SConvert 17
63617a3babSopenharmony_ci              20:     19(ptr) AccessChain 13 15
64617a3babSopenharmony_ci                              Store 20 18
65617a3babSopenharmony_ci              21:   6(int8_t) SConvert 16
66617a3babSopenharmony_ci              22:  7(int16_t) SConvert 21
67617a3babSopenharmony_ci              24:     23(ptr) AccessChain 13 16
68617a3babSopenharmony_ci                              Store 24 22
69617a3babSopenharmony_ci              28:  9(int16_t) UConvert 27
70617a3babSopenharmony_ci              29:   8(int8_t) UConvert 28
71617a3babSopenharmony_ci              31:     30(ptr) AccessChain 13 25
72617a3babSopenharmony_ci                              Store 31 29
73617a3babSopenharmony_ci              33:   8(int8_t) UConvert 27
74617a3babSopenharmony_ci              34:  9(int16_t) UConvert 33
75617a3babSopenharmony_ci              36:     35(ptr) AccessChain 13 32
76617a3babSopenharmony_ci                              Store 36 34
77617a3babSopenharmony_ci              38:   6(int8_t) SConvert 16
78617a3babSopenharmony_ci              40:10(float16_t) FConvert 38
79617a3babSopenharmony_ci              42:     41(ptr) AccessChain 13 37
80617a3babSopenharmony_ci                              Store 42 40
81617a3babSopenharmony_ci                              Return
82617a3babSopenharmony_ci                              FunctionEnd
83