HLSL: Add shape conversions for return values.
This commit is contained in:
9
Test/hlsl.shapeConvRet.frag
Executable file
9
Test/hlsl.shapeConvRet.frag
Executable file
@@ -0,0 +1,9 @@
|
||||
int3 foo()
|
||||
{
|
||||
return 13;
|
||||
}
|
||||
|
||||
float4 main(float f)
|
||||
{
|
||||
return f;
|
||||
}
|
||||
Reference in New Issue
Block a user