dawn-cmake/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nest.../0-opt.spvasm

69 lines
2.6 KiB
Plaintext

OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main" %_GLF_color
OpExecutionMode %main OriginUpperLeft
OpSource ESSL 310
OpName %main "main"
OpName %_GLF_color "_GLF_color"
OpName %buf0 "buf0"
OpMemberName %buf0 0 "injectionSwitch"
OpName %_ ""
OpName %GLF_live12c5 "GLF_live12c5"
OpDecorate %_GLF_color Location 0
OpMemberDecorate %buf0 0 Offset 0
OpDecorate %buf0 Block
OpDecorate %_ DescriptorSet 0
OpDecorate %_ Binding 0
%void = OpTypeVoid
%8 = OpTypeFunction %void
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Output_v4float = OpTypePointer Output %v4float
%_GLF_color = OpVariable %_ptr_Output_v4float Output
%float_1 = OpConstant %float 1
%float_0 = OpConstant %float 0
%14 = OpConstantComposite %v4float %float_1 %float_0 %float_0 %float_1
%v2float = OpTypeVector %float 2
%buf0 = OpTypeStruct %v2float
%_ptr_Uniform_buf0 = OpTypePointer Uniform %buf0
%_ = OpVariable %_ptr_Uniform_buf0 Uniform
%int = OpTypeInt 32 1
%int_0 = OpConstant %int 0
%uint = OpTypeInt 32 0
%uint_1 = OpConstant %uint 1
%_ptr_Uniform_float = OpTypePointer Uniform %float
%bool = OpTypeBool
%_ptr_Function_bool = OpTypePointer Function %bool
%false = OpConstantFalse %bool
%main = OpFunction %void None %8
%25 = OpLabel
%GLF_live12c5 = OpVariable %_ptr_Function_bool Function
OpStore %_GLF_color %14
OpBranch %26
%26 = OpLabel
OpLoopMerge %27 %28 None
OpBranch %29
%29 = OpLabel
%30 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %uint_1
%31 = OpLoad %float %30
%32 = OpFOrdLessThan %bool %31 %float_0
OpSelectionMerge %33 None
OpBranchConditional %32 %34 %33
%34 = OpLabel
OpStore %GLF_live12c5 %false
%35 = OpLoad %bool %GLF_live12c5
OpSelectionMerge %36 None
OpBranchConditional %35 %37 %28
%37 = OpLabel
OpBranch %28
%36 = OpLabel
OpBranch %28
%28 = OpLabel
OpBranchConditional %false %26 %27
%33 = OpLabel
OpBranch %27
%27 = OpLabel
OpReturn
OpFunctionEnd