HLSL: Add shape conversions for return values.
This commit is contained in:
parent
ed33e05762
commit
087a454af2
6 changed files with 112 additions and 8 deletions
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue