HLSL: Fix #1018: Give an error for mismatched return type.
This commit is contained in:
parent
b207daa5d3
commit
778806a692
3 changed files with 84 additions and 82 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue