blob: dcbce64619f35877faaec7a7fd27777bcb0efd82 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 21
; Schema: 0
OpCapability Shader
OpCapability Float16
OpCapability UniformAndStorageBuffer16BitAccess
OpCapability StorageBuffer16BitAccess
OpCapability StorageInputOutput16
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %f "f"
OpExecutionMode %f LocalSize 1 1 1
OpName %f "f"
OpName %a "a"
OpName %b "b"
%void = OpTypeVoid
%1 = OpTypeFunction %void
%half = OpTypeFloat 16
%half_0x1p_2 = OpConstant %half 0x1p+2
%_ptr_Function_half = OpTypePointer Function %half
%9 = OpConstantNull %half
%v3half = OpTypeVector %half 3
%half_0x1p_1 = OpConstant %half 0x1p+1
%12 = OpConstantComposite %v3half %9 %half_0x1p_1 %9
%_ptr_Function_v3half = OpTypePointer Function %v3half
%15 = OpConstantNull %v3half
%f = OpFunction %void None %1
%4 = OpLabel
%a = OpVariable %_ptr_Function_half Function %9
%b = OpVariable %_ptr_Function_v3half Function %15
%19 = OpVariable %_ptr_Function_v3half Function %15
OpStore %a %half_0x1p_2
OpStore %b %12
%16 = OpLoad %half %a
%17 = OpLoad %v3half %b
%20 = OpCompositeConstruct %v3half %16 %16 %16
%18 = OpFDiv %v3half %20 %17
OpReturn
OpFunctionEnd