| SKIP: FAILED |
| |
| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 21 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint Fragment %f "f" %f_Input %f_Input_0 %f_loc0_Output |
| OpExecutionMode %f OriginUpperLeft |
| OpName %f_Input "f_Input" |
| OpName %f_Input_0 "f_Input" |
| OpName %f_loc0_Output "f_loc0_Output" |
| OpName %f_inner "f_inner" |
| OpName %fbf_1 "fbf_1" |
| OpName %fbf_3 "fbf_3" |
| OpName %f "f" |
| OpDecorate %f_loc0_Output Location 0 |
| %float = OpTypeFloat 32 |
| %v4float = OpTypeVector %float 4 |
| %_ptr_Input_v4float = OpTypePointer Input %v4float |
| %f_Input = OpVariable %_ptr_Input_v4float Input |
| %f_Input_0 = OpVariable %_ptr_Input_v4float Input |
| %_ptr_Output_v4float = OpTypePointer Output %v4float |
| %f_loc0_Output = OpVariable %_ptr_Output_v4float Output |
| %11 = OpTypeFunction %v4float %v4float %v4float |
| %void = OpTypeVoid |
| %16 = OpTypeFunction %void |
| %f_inner = OpFunction %v4float None %11 |
| %fbf_1 = OpFunctionParameter %v4float |
| %fbf_3 = OpFunctionParameter %v4float |
| %12 = OpLabel |
| %13 = OpFAdd %v4float %fbf_1 %fbf_3 |
| OpReturnValue %13 |
| OpFunctionEnd |
| %f = OpFunction %void None %16 |
| %17 = OpLabel |
| %18 = OpLoad %v4float %f_Input None |
| %19 = OpLoad %v4float %f_Input_0 None |
| %20 = OpFunctionCall %v4float %f_inner %18 %19 |
| OpStore %f_loc0_Output %20 None |
| OpReturn |
| OpFunctionEnd |
| 1:1: [VUID-StandaloneSpirv-Location-04916] Variable must be decorated with a location |
| %f_Input = OpVariable %_ptr_Input_v4float Input |
| |