dawn-cmake/test/intrinsics/gen/frexp/8b3191.wgsl.expected.spvasm

36 lines
1.3 KiB
Plaintext
Raw Normal View History

; 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_8b3191 "frexp_8b3191"
OpName %res "res"
OpName %compute_main "compute_main"
%uint = OpTypeInt 32 0
%_ptr_Workgroup_uint = OpTypePointer Workgroup %uint
%arg_1 = OpVariable %_ptr_Workgroup_uint Workgroup
%void = OpTypeVoid
%4 = OpTypeFunction %void
%float = OpTypeFloat 32
%float_1 = OpConstant %float 1
%_ptr_Function_float = OpTypePointer Function %float
%15 = OpConstantNull %float
%frexp_8b3191 = 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_8b3191
OpReturn
OpFunctionEnd