35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
|
; SPIR-V
|
||
|
; Version: 1.3
|
||
|
; Generator: Google Tint Compiler; 0
|
||
|
; Bound: 18
|
||
|
; Schema: 0
|
||
|
OpCapability Shader
|
||
|
%9 = 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_e38ae6 "modf_e38ae6"
|
||
|
OpName %res "res"
|
||
|
OpName %compute_main "compute_main"
|
||
|
%float = OpTypeFloat 32
|
||
|
%_ptr_Workgroup_float = OpTypePointer Workgroup %float
|
||
|
%arg_1 = OpVariable %_ptr_Workgroup_float Workgroup
|
||
|
%void = OpTypeVoid
|
||
|
%4 = OpTypeFunction %void
|
||
|
%float_1 = OpConstant %float 1
|
||
|
%_ptr_Function_float = OpTypePointer Function %float
|
||
|
%14 = OpConstantNull %float
|
||
|
%modf_e38ae6 = OpFunction %void None %4
|
||
|
%7 = OpLabel
|
||
|
%res = OpVariable %_ptr_Function_float Function %14
|
||
|
%8 = OpExtInst %float %9 Modf %float_1 %arg_1
|
||
|
OpStore %res %8
|
||
|
OpReturn
|
||
|
OpFunctionEnd
|
||
|
%compute_main = OpFunction %void None %4
|
||
|
%16 = OpLabel
|
||
|
%17 = OpFunctionCall %void %modf_e38ae6
|
||
|
OpReturn
|
||
|
OpFunctionEnd
|