| ; SPIR-V | |
| ; Version: 1.3 | |
| ; Generator: Google Tint Compiler; 1 | |
| ; Bound: 37 | |
| ; Schema: 0 | |
| OpCapability Shader | |
| OpCapability InputAttachment | |
| OpMemoryModel Logical GLSL450 | |
| OpEntryPoint Fragment %f "f" %f_position_Input %f_loc0_Input | |
| OpExecutionMode %f OriginUpperLeft | |
| OpName %f_position_Input "f_position_Input" | |
| OpName %f_loc0_Input "f_loc0_Input" | |
| OpName %f_Input "f_Input" | |
| OpName %g "g" | |
| OpName %a "a" | |
| OpName %b "b" | |
| OpName %c "c" | |
| OpName %f_inner "f_inner" | |
| OpName %pos "pos" | |
| OpName %uv "uv" | |
| OpName %fbf "fbf" | |
| OpName %f "f" | |
| OpDecorate %f_position_Input BuiltIn FragCoord | |
| OpDecorate %f_loc0_Input Location 0 | |
| OpDecorate %f_Input DescriptorSet 66 | |
| OpDecorate %f_Input Binding 0 | |
| OpDecorate %f_Input InputAttachmentIndex 0 | |
| %float = OpTypeFloat 32 | |
| %v4float = OpTypeVector %float 4 | |
| %_ptr_Input_v4float = OpTypePointer Input %v4float | |
| %f_position_Input = OpVariable %_ptr_Input_v4float Input | |
| %f_loc0_Input = OpVariable %_ptr_Input_v4float Input | |
| %8 = OpTypeImage %float SubpassData 0 0 0 2 Unknown | |
| %_ptr_UniformConstant_8 = OpTypePointer UniformConstant %8 | |
| %f_Input = OpVariable %_ptr_UniformConstant_8 UniformConstant | |
| %void = OpTypeVoid | |
| %14 = OpTypeFunction %void %float %float %float | |
| %20 = OpTypeFunction %void %v4float %v4float %v4float | |
| %27 = OpTypeFunction %void | |
| %int = OpTypeInt 32 1 | |
| %v2int = OpTypeVector %int 2 | |
| %33 = OpConstantNull %v2int | |
| %g = OpFunction %void None %14 | |
| %a = OpFunctionParameter %float | |
| %b = OpFunctionParameter %float | |
| %c = OpFunctionParameter %float | |
| %15 = OpLabel | |
| OpReturn | |
| OpFunctionEnd | |
| %f_inner = OpFunction %void None %20 | |
| %pos = OpFunctionParameter %v4float | |
| %uv = OpFunctionParameter %v4float | |
| %fbf = OpFunctionParameter %v4float | |
| %21 = OpLabel | |
| %22 = OpCompositeExtract %float %pos 0 | |
| %23 = OpCompositeExtract %float %uv 0 | |
| %24 = OpCompositeExtract %float %fbf 0 | |
| %25 = OpFunctionCall %void %g %22 %23 %24 | |
| OpReturn | |
| OpFunctionEnd | |
| %f = OpFunction %void None %27 | |
| %28 = OpLabel | |
| %29 = OpLoad %v4float %f_position_Input None | |
| %30 = OpLoad %v4float %f_loc0_Input None | |
| %31 = OpLoad %8 %f_Input None | |
| %32 = OpImageRead %v4float %31 %33 | |
| %36 = OpFunctionCall %void %f_inner %29 %30 %32 | |
| OpReturn | |
| OpFunctionEnd |