blob: 60d19105ca2741944d3e1a8d7982cdd729a31e2d [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 16
; 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"
%bool = OpTypeBool
%true = OpConstantTrue %bool
%_ptr_Private_bool = OpTypePointer Private %bool
%u = OpVariable %_ptr_Private_bool Private %true
%void = OpTypeVoid
%5 = OpTypeFunction %void
%half = OpTypeFloat 16
%half_0x0p_0 = OpConstant %half 0x0p+0
%half_0x1p_0 = OpConstant %half 0x1p+0
%unused_entry_point = OpFunction %void None %5
%8 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %5
%10 = OpLabel
%13 = OpLoad %bool %u
%11 = OpSelect %half %13 %half_0x1p_0 %half_0x0p_0
OpReturn
OpFunctionEnd