blob: 9b33e945fd47252ce77ff5f483315ab08142f974 [file] [log] [blame]
Ben Clayton9b54a2e2021-05-18 10:28:48 +00001; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
Ben Clayton053559d2021-07-23 16:43:01 +00004; Bound: 13
Ben Clayton9b54a2e2021-05-18 10:28:48 +00005; Schema: 0
6 OpCapability Shader
Ben Clayton053559d2021-07-23 16:43:01 +00007 %9 = OpExtInstImport "GLSL.std.450"
Ben Clayton9b54a2e2021-05-18 10:28:48 +00008 OpMemoryModel Logical GLSL450
9 OpEntryPoint GLCompute %main "main"
10 OpExecutionMode %main LocalSize 1 1 1
11 OpName %main "main"
James Price1bf5af22021-11-19 21:52:13 +000012 OpName %__frexp_result "__frexp_result"
13 OpMemberName %__frexp_result 0 "sig"
14 OpMemberName %__frexp_result 1 "exp"
15 OpMemberDecorate %__frexp_result 0 Offset 0
16 OpMemberDecorate %__frexp_result 1 Offset 4
Ben Clayton9b54a2e2021-05-18 10:28:48 +000017 %void = OpTypeVoid
18 %1 = OpTypeFunction %void
Ben Clayton9b54a2e2021-05-18 10:28:48 +000019 %float = OpTypeFloat 32
Ben Clayton053559d2021-07-23 16:43:01 +000020 %int = OpTypeInt 32 1
James Price1bf5af22021-11-19 21:52:13 +000021%__frexp_result = OpTypeStruct %float %int
Ben Clayton9b54a2e2021-05-18 10:28:48 +000022%float_1_23000002 = OpConstant %float 1.23000002
23 %main = OpFunction %void None %1
24 %4 = OpLabel
James Price1bf5af22021-11-19 21:52:13 +000025 %5 = OpExtInst %__frexp_result %9 FrexpStruct %float_1_23000002
Ben Clayton053559d2021-07-23 16:43:01 +000026 %11 = OpCompositeExtract %int %5 1
27 %12 = OpCompositeExtract %float %5 0
Ben Clayton9b54a2e2021-05-18 10:28:48 +000028 OpReturn
29 OpFunctionEnd