blob: f5c2a40860973184086419fe91ea45a184e49bf9 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 34
; Schema: 0
OpCapability Shader
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 %tint_ftou "tint_ftou"
OpName %v "v"
OpName %f "f"
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%float_1 = OpConstant %float 1
%4 = OpConstantComposite %v4float %float_1 %float_1 %float_1 %float_1
%_ptr_Private_v4float = OpTypePointer Private %v4float
%u = OpVariable %_ptr_Private_v4float Private %4
%void = OpTypeVoid
%7 = OpTypeFunction %void
%uint = OpTypeInt 32 0
%v4uint = OpTypeVector %uint 4
%11 = OpTypeFunction %v4uint %v4float
%float_4_29496704e_09 = OpConstant %float 4.29496704e+09
%19 = OpConstantComposite %v4float %float_4_29496704e_09 %float_4_29496704e_09 %float_4_29496704e_09 %float_4_29496704e_09
%bool = OpTypeBool
%v4bool = OpTypeVector %bool 4
%24 = OpConstantNull %v4float
%26 = OpConstantNull %v4uint
%uint_4294967295 = OpConstant %uint 4294967295
%29 = OpConstantComposite %v4uint %uint_4294967295 %uint_4294967295 %uint_4294967295 %uint_4294967295
%unused_entry_point = OpFunction %void None %7
%10 = OpLabel
OpReturn
OpFunctionEnd
%tint_ftou = OpFunction %v4uint None %11
%v = OpFunctionParameter %v4float
%16 = OpLabel
%20 = OpFOrdLessThan %v4bool %v %19
%25 = OpFOrdLessThan %v4bool %v %24
%27 = OpConvertFToU %v4uint %v
%23 = OpSelect %v4uint %25 %26 %27
%17 = OpSelect %v4uint %20 %23 %29
OpReturnValue %17
OpFunctionEnd
%f = OpFunction %void None %7
%31 = OpLabel
%33 = OpLoad %v4float %u
%32 = OpFunctionCall %v4uint %tint_ftou %33
OpReturn
OpFunctionEnd