| SKIP: FAILED |
| |
| struct In { |
| float4 a; |
| float4 b; |
| int4 fbf; |
| }; |
| |
| struct f_inputs { |
| int4 In_fbf; |
| float4 In_a : TEXCOORD0; |
| nointerpolation float4 In_b : TEXCOORD1; |
| }; |
| |
| |
| void g(float a, float b, int c) { |
| } |
| |
| void f_inner(In tint_symbol) { |
| g(tint_symbol.a[0u], tint_symbol.b[1u], tint_symbol.fbf[0u]); |
| } |
| |
| void f(f_inputs inputs) { |
| In v = {inputs.In_a, inputs.In_b, inputs.In_fbf}; |
| f_inner(v); |
| } |
| |
| DXC validation failure: |
| hlsl.hlsl:21:1: error: Semantic must be defined for all parameters of an entry function or patch constant function |
| void f(f_inputs inputs) { |
| ^ |
| |