• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.float16convertonlyarith.comp
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 22
5
6                              Capability Shader
7                              Capability Float16
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint GLCompute 4  "main"
11                              ExecutionMode 4 LocalSize 16 16 1
12                              Source GLSL 450
13                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_float16"
14                              Name 4  "main"
15                              Name 9  "v"
16                              Decorate 21 BuiltIn WorkgroupSize
17               2:             TypeVoid
18               3:             TypeFunction 2
19               6:             TypeFloat 32
20               7:             TypeVector 6(float) 4
21               8:             TypePointer Function 7(fvec4)
22              10:    6(float) Constant 0
23              11:    7(fvec4) ConstantComposite 10 10 10 10
24              13:             TypeFloat 16
25              14:             TypeVector 13(float16_t) 4
26              17:             TypeInt 32 0
27              18:             TypeVector 17(int) 3
28              19:     17(int) Constant 16
29              20:     17(int) Constant 1
30              21:   18(ivec3) ConstantComposite 19 19 20
31         4(main):           2 Function None 3
32               5:             Label
33            9(v):      8(ptr) Variable Function
34                              Store 9(v) 11
35              12:    7(fvec4) Load 9(v)
36              15: 14(f16vec4) FConvert 12
37              16:    7(fvec4) FConvert 15
38                              Return
39                              FunctionEnd
40