dawn-cmake/test/intrinsics/gen/frexp/0da285.wgsl.expected.spvasm

36 lines
1.3 KiB
Plaintext

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 19
; Schema: 0
OpCapability Shader
%10 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %compute_main "compute_main"
OpExecutionMode %compute_main LocalSize 1 1 1
OpName %arg_1 "arg_1"
OpName %frexp_0da285 "frexp_0da285"
OpName %res "res"
OpName %compute_main "compute_main"
%int = OpTypeInt 32 1
%_ptr_Workgroup_int = OpTypePointer Workgroup %int
%arg_1 = OpVariable %_ptr_Workgroup_int Workgroup
%void = OpTypeVoid
%4 = OpTypeFunction %void
%float = OpTypeFloat 32
%float_1 = OpConstant %float 1
%_ptr_Function_float = OpTypePointer Function %float
%15 = OpConstantNull %float
%frexp_0da285 = OpFunction %void None %4
%7 = OpLabel
%res = OpVariable %_ptr_Function_float Function %15
%8 = OpExtInst %float %10 Frexp %float_1 %arg_1
OpStore %res %8
OpReturn
OpFunctionEnd
%compute_main = OpFunction %void None %4
%17 = OpLabel
%18 = OpFunctionCall %void %frexp_0da285
OpReturn
OpFunctionEnd