blob: 4c396caee7ebf942b4f1e10db489d4002c9b547d [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"
%uint = OpTypeInt 32 0
%_ptr_Private_uint = OpTypePointer Private %uint
%4 = OpConstantNull %uint
%t = OpVariable %_ptr_Private_uint Private %4
%void = OpTypeVoid
%5 = OpTypeFunction %void
%9 = OpTypeFunction %uint
%uint_1 = OpConstant %uint 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 %uint None %9
%11 = OpLabel
OpStore %t %uint_1
%14 = OpLoad %uint %t
OpReturnValue %14
OpFunctionEnd
%f = OpFunction %void None %5
%16 = OpLabel
%v = OpVariable %_ptr_Function_float Function %22
%17 = OpFunctionCall %uint %m
%18 = OpConvertUToF %float %17
OpStore %v %18
OpReturn
OpFunctionEnd