blob: 4cb274dea8243d330453f3dc129dac61f3087e84 [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
James Price96a96692023-07-05 00:30:56 +00007 %12 = OpExtInstImport "GLSL.std.450"
Corentin Wallezb32c22c2021-07-26 09:12:57 +00008 OpMemoryModel Logical GLSL450
9 OpEntryPoint GLCompute %main "main"
10 OpExecutionMode %main LocalSize 1 1 1
11 OpName %main_1 "main_1"
12 OpName %a "a"
13 OpName %b "b"
14 OpName %main "main"
15 %void = OpTypeVoid
16 %1 = OpTypeFunction %void
17 %float = OpTypeFloat 32
18%_ptr_Function_float = OpTypePointer Function %float
19 %8 = OpConstantNull %float
20 %float_42 = OpConstant %float 42
Corentin Wallezb32c22c2021-07-26 09:12:57 +000021 %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
James Price96a96692023-07-05 00:30:56 +000026 %13 = OpLoad %float %a
27 %11 = OpExtInst %float %12 Radians %13
28 OpStore %b %11
Corentin Wallezb32c22c2021-07-26 09:12:57 +000029 OpReturn
30 OpFunctionEnd
31 %main = OpFunction %void None %1
32 %15 = OpLabel
33 %16 = OpFunctionCall %void %main_1
34 OpReturn
35 OpFunctionEnd