blob: e9321ed9210bc867b72ac44330c8552d114856e6 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 23
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %t "t"
OpName %unused_entry_point "unused_entry_point"
OpName %m "m"
OpName %f "f"
OpName %v "v"
%int = OpTypeInt 32 1
%_ptr_Private_int = OpTypePointer Private %int
%4 = OpConstantNull %int
%t = OpVariable %_ptr_Private_int Private %4
%void = OpTypeVoid
%5 = OpTypeFunction %void
%9 = OpTypeFunction %int
%int_1 = OpConstant %int 1
%float = OpTypeFloat 32
%_ptr_Function_float = OpTypePointer Function %float
%22 = OpConstantNull %float
%unused_entry_point = OpFunction %void None %5
%8 = OpLabel
OpReturn
OpFunctionEnd
%m = OpFunction %int None %9
%11 = OpLabel
OpStore %t %int_1
%14 = OpLoad %int %t
OpReturnValue %14
OpFunctionEnd
%f = OpFunction %void None %5
%16 = OpLabel
%v = OpVariable %_ptr_Function_float Function %22
%17 = OpFunctionCall %int %m
%18 = OpConvertSToF %float %17
OpStore %v %18
OpReturn
OpFunctionEnd