blob: 8f7259da407ef81f62416a8f57a43a6d475b91b9 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 14
; Schema: 0
OpCapability Shader
OpCapability Float16
OpCapability UniformAndStorageBuffer16BitAccess
OpCapability StorageBuffer16BitAccess
OpCapability StorageInputOutput16
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %u "u"
OpName %unused_entry_point "unused_entry_point"
OpName %f "f"
%half = OpTypeFloat 16
%half_0x1p_0 = OpConstant %half 0x1p+0
%_ptr_Private_half = OpTypePointer Private %half
%u = OpVariable %_ptr_Private_half Private %half_0x1p_0
%void = OpTypeVoid
%5 = OpTypeFunction %void
%int = OpTypeInt 32 1
%unused_entry_point = OpFunction %void None %5
%8 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %5
%10 = OpLabel
%13 = OpLoad %half %u
%11 = OpConvertFToS %int %13
OpReturn
OpFunctionEnd