blob: bc75a2fc86fce3b6f15f72c010d71e0777280a8e [file] [log] [blame]
Corentin Wallezb32c22c2021-07-26 09:12:57 +00001; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 17
5; Schema: 0
6 OpCapability Shader
7 OpMemoryModel Logical GLSL450
8 OpEntryPoint GLCompute %main "main"
9 OpExecutionMode %main LocalSize 1 1 1
10 OpName %main_1 "main_1"
11 OpName %a "a"
12 OpName %b "b"
13 OpName %main "main"
14 %void = OpTypeVoid
15 %1 = OpTypeFunction %void
16 %float = OpTypeFloat 32
17%_ptr_Function_float = OpTypePointer Function %float
18 %8 = OpConstantNull %float
19 %float_42 = OpConstant %float 42
20%float_0_0174532924 = OpConstant %float 0.0174532924
21 %main_1 = OpFunction %void None %1
22 %4 = OpLabel
23 %a = OpVariable %_ptr_Function_float Function %8
24 %b = OpVariable %_ptr_Function_float Function %8
25 OpStore %a %float_42
26 %11 = OpLoad %float %a
27 %13 = OpFMul %float %11 %float_0_0174532924
28 OpStore %b %13
29 OpReturn
30 OpFunctionEnd
31 %main = OpFunction %void None %1
32 %15 = OpLabel
33 %16 = OpFunctionCall %void %main_1
34 OpReturn
35 OpFunctionEnd