HLSL: Add shape conversions for return values.

This commit is contained in:
John Kessenich
2016-10-06 16:56:54 -06:00
parent ed33e05762
commit 087a454af2
6 changed files with 112 additions and 8 deletions

9
Test/hlsl.shapeConvRet.frag Executable file
View File

@@ -0,0 +1,9 @@
int3 foo()
{
return 13;
}
float4 main(float f)
{
return f;
}