HLSL: Fix #1018: Give an error for mismatched return type.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user