dawn-cmake/test/intrinsics/gen/modf/1d59e5.wgsl.expected.spvasm

35 lines
1.3 KiB
Plaintext

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 18
; 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 %modf_1d59e5 "modf_1d59e5"
OpName %res "res"
OpName %compute_main "compute_main"
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Workgroup_v4float = OpTypePointer Workgroup %v4float
%arg_1 = OpVariable %_ptr_Workgroup_v4float Workgroup
%void = OpTypeVoid
%5 = OpTypeFunction %void
%11 = OpConstantNull %v4float
%_ptr_Function_v4float = OpTypePointer Function %v4float
%modf_1d59e5 = OpFunction %void None %5
%8 = OpLabel
%res = OpVariable %_ptr_Function_v4float Function %11
%9 = OpExtInst %v4float %10 Modf %11 %arg_1
OpStore %res %9
OpReturn
OpFunctionEnd
%compute_main = OpFunction %void None %5
%16 = OpLabel
%17 = OpFunctionCall %void %modf_1d59e5
OpReturn
OpFunctionEnd