blob: 457cdeb877d990176fa4f4acd451bbc38c5b72d1 [file] [edit]
spv.floate3m2.comp
// Module Version 10600
// Generated by (magic number): 8000b
// Id's are bound by 104
Capability Shader
Capability Float16
Capability Float64
Capability Int16
Capability Int8
Capability Float6EXT
Capability BitcastExtractEXT
Capability LongVectorEXT
Extension "SPV_EXT_long_vector"
Extension "SPV_EXT_ocp_microscaling_types"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "main"
ExecutionMode 4 LocalSize 1 1 1
Source GLSL 450
SourceExtension "GL_EXT_float_e3m2"
SourceExtension "GL_EXT_long_vector"
SourceExtension "GL_EXT_scalar_block_layout"
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
SourceExtension "GL_KHR_memory_scope_semantics"
Name 4 "main"
Name 10 "funcfe3m2(fe3m21;"
Name 9 "x"
Name 17 "f"
Name 19 "b"
Name 23 "f16"
Name 25 "f32"
Name 29 "f64"
Name 43 "param"
Name 49 "u8"
Name 52 "v4"
Name 58 "u16"
Name 61 "v8"
Name 67 "u32"
Name 70 "v16"
Name 82 "v4_2"
Name 88 "v7"
Name 99 "bsc10"
Name 100 "S"
MemberName 100(S) 0 "b"
Decorate 99(bsc10) SpecId 1
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 6 4224
7: TypePointer Function 6(floate3m2_t)
8: TypeFunction 6(floate3m2_t) 7(ptr)
15: TypeFloat 32
16: TypePointer Function 15(float)
18: 15(float) Constant 1073741824
20:6(floate3m2_t) Constant 12
21: TypeFloat 16
22: TypePointer Function 21(float16_t)
24:21(float16_t) Constant 18176
26: 15(float) Constant 1088421888
27: TypeFloat 64
28: TypePointer Function 27(float64_t)
30:27(float64_t) Constant 0 1075576832
46: TypeInt 8 0
47: TypeVector 46(int8_t) 3
48: TypePointer Function 47(i8vec3)
50: TypeVector 6(floate3m2_t) 4
51: TypePointer Function 50(fvec4)
55: TypeInt 16 0
56: TypeVector 55(int16_t) 3
57: TypePointer Function 56(i16vec3)
59: TypeVector 6(floate3m2_t) 8
60: TypePointer Function 59(fvec8)
64: TypeInt 32 0
65: TypeVector 64(int) 3
66: TypePointer Function 65(ivec3)
68: TypeVector 6(floate3m2_t) 16
69: TypePointer Function 68(fvec16)
79: 46(int8_t) Constant 1
80: 64(int) Constant 2
83: TypeVector 46(int8_t) 4
84: 83(i8vec4) ConstantComposite 79 79 79 79
86: TypeVector 6(floate3m2_t) 7
87: TypePointer Function 86(fvec)
89: TypeVector 46(int8_t) 7
90: 89(i8vec) ConstantComposite 79 79 79 79 79 79 79
91: 64(int) Constant 3
93: 64(int) Constant 1
94: 65(ivec3) ConstantComposite 93 93 93
95:6(floate3m2_t) Constant 25
96: TypeVector 6(floate3m2_t) 2
97:6(floate3m2_t) Constant 29
98: 96(fvec2) ConstantComposite 97 97
99(bsc10):6(floate3m2_t) SpecConstant 25
100(S): TypeStruct 6(floate3m2_t)
101: 100(S) ConstantComposite 95
102: TypeArray 6(floate3m2_t) 80
103: 102 ConstantComposite 95 95
4(main): 2 Function None 3
5: Label
17(f): 16(ptr) Variable Function
19(b): 7(ptr) Variable Function
23(f16): 22(ptr) Variable Function
25(f32): 16(ptr) Variable Function
29(f64): 28(ptr) Variable Function
43(param): 7(ptr) Variable Function
49(u8): 48(ptr) Variable Function
52(v4): 51(ptr) Variable Function
58(u16): 57(ptr) Variable Function
61(v8): 60(ptr) Variable Function
67(u32): 66(ptr) Variable Function
70(v16): 69(ptr) Variable Function
82(v4_2): 51(ptr) Variable Function
88(v7): 87(ptr) Variable Function
Store 17(f) 18
Store 19(b) 20
Store 23(f16) 24
Store 25(f32) 26
Store 29(f64) 30
31:6(floate3m2_t) Load 19(b)
32:21(float16_t) FConvert 31
Store 23(f16) 32
33:6(floate3m2_t) Load 19(b)
34: 15(float) FConvert 33
Store 25(f32) 34
35:6(floate3m2_t) Load 19(b)
36:27(float64_t) FConvert 35
Store 29(f64) 36
37:6(floate3m2_t) Load 19(b)
38:21(float16_t) FConvert 37
Store 23(f16) 38
39:6(floate3m2_t) Load 19(b)
40: 15(float) FConvert 39
Store 25(f32) 40
41:6(floate3m2_t) Load 19(b)
42:27(float64_t) FConvert 41
Store 29(f64) 42
44:6(floate3m2_t) Load 19(b)
Store 43(param) 44
45:6(floate3m2_t) FunctionCall 10(funcfe3m2(fe3m21;) 43(param)
Store 19(b) 45
53: 50(fvec4) Load 52(v4)
54: 47(i8vec3) Bitcast 53
Store 49(u8) 54
62: 59(fvec8) Load 61(v8)
63: 56(i16vec3) Bitcast 62
Store 58(u16) 63
71: 68(fvec16) Load 70(v16)
72: 65(ivec3) Bitcast 71
Store 67(u32) 72
73: 47(i8vec3) Load 49(u8)
74: 50(fvec4) Bitcast 73
Store 52(v4) 74
75: 56(i16vec3) Load 58(u16)
76: 59(fvec8) Bitcast 75
Store 61(v8) 76
77: 65(ivec3) Load 67(u32)
78: 68(fvec16) Bitcast 77
Store 70(v16) 78
81:6(floate3m2_t) BitcastExtractEXT 79 80
Store 19(b) 81
85: 50(fvec4) BitcastExtractEXT 84 80
Store 82(v4_2) 85
92: 86(fvec) BitcastExtractEXT 90 91
Store 88(v7) 92
Return
FunctionEnd
10(funcfe3m2(fe3m21;):6(floate3m2_t) Function None 8
9(x): 7(ptr) FunctionParameter
11: Label
12:6(floate3m2_t) Load 9(x)
ReturnValue 12
FunctionEnd