| 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 |
| OpExecutionMode %f OriginUpperLeft |
| OpName %f_Input "f_Input" |
| OpName %g "g" |
| OpName %a "a" |
| OpName %f_inner "f_inner" |
| OpName %fbf "fbf" |
| OpName %f "f" |
| %float = OpTypeFloat 32 |
| %v4float = OpTypeVector %float 4 |
| %_ptr_Input_v4float = OpTypePointer Input %v4float |
| %f_Input = OpVariable %_ptr_Input_v4float Input |
| %void = OpTypeVoid |
| %8 = OpTypeFunction %void %float |
| %12 = OpTypeFunction %void %v4float |
| %17 = OpTypeFunction %void |
| %g = OpFunction %void None %8 |
| %a = OpFunctionParameter %float |
| %9 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %f_inner = OpFunction %void None %12 |
| %fbf = OpFunctionParameter %v4float |
| %13 = OpLabel |
| %14 = OpCompositeExtract %float %fbf 1 |
| %15 = OpFunctionCall %void %g %14 |
| OpReturn |
| OpFunctionEnd |
| %f = OpFunction %void None %17 |
| %18 = OpLabel |
| %19 = OpLoad %v4float %f_Input None |
| %20 = OpFunctionCall %void %f_inner %19 |
| OpReturn |
| OpFunctionEnd |
| 1:1: [VUID-StandaloneSpirv-Location-04916] Variable must be decorated with a location |
| %f_Input = OpVariable %_ptr_Input_v4float Input |
| |