37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
|
; SPIR-V
|
||
|
; Version: 1.3
|
||
|
; Generator: Google Tint Compiler; 0
|
||
|
; Bound: 20
|
||
|
; Schema: 0
|
||
|
OpCapability Shader
|
||
|
%12 = 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_6be229 "frexp_6be229"
|
||
|
OpName %res "res"
|
||
|
OpName %compute_main "compute_main"
|
||
|
%uint = OpTypeInt 32 0
|
||
|
%v3uint = OpTypeVector %uint 3
|
||
|
%_ptr_Workgroup_v3uint = OpTypePointer Workgroup %v3uint
|
||
|
%arg_1 = OpVariable %_ptr_Workgroup_v3uint Workgroup
|
||
|
%void = OpTypeVoid
|
||
|
%5 = OpTypeFunction %void
|
||
|
%float = OpTypeFloat 32
|
||
|
%v3float = OpTypeVector %float 3
|
||
|
%13 = OpConstantNull %v3float
|
||
|
%_ptr_Function_v3float = OpTypePointer Function %v3float
|
||
|
%frexp_6be229 = OpFunction %void None %5
|
||
|
%8 = OpLabel
|
||
|
%res = OpVariable %_ptr_Function_v3float Function %13
|
||
|
%9 = OpExtInst %v3float %12 Frexp %13 %arg_1
|
||
|
OpStore %res %9
|
||
|
OpReturn
|
||
|
OpFunctionEnd
|
||
|
%compute_main = OpFunction %void None %5
|
||
|
%18 = OpLabel
|
||
|
%19 = OpFunctionCall %void %frexp_6be229
|
||
|
OpReturn
|
||
|
OpFunctionEnd
|