HLSL: Fix #1018: Give an error for mismatched return type.

This commit is contained in:
John Kessenich
2017-08-19 17:29:44 -06:00
parent b207daa5d3
commit 778806a692
3 changed files with 84 additions and 82 deletions

View File

@@ -8,5 +8,5 @@ float4 main(int i, S input[3]) : COLOR0
S a[3];
input = a;
return float3(1.0);
return a[1].pos;
}