HLSL: Fix #771: add inline keyword.

This commit is contained in:
John Kessenich 2017-03-15 09:05:14 -06:00
parent 95e736c83b
commit 36b218de91
5 changed files with 9 additions and 3 deletions

View file

@ -4,7 +4,7 @@ struct PS_OUTPUT
float Depth : SV_Depth;
};
void MyFunc(in float x, out float y, inout float z)
inline void MyFunc(in float x, out float y, inout float z)
{
y = x;
z = y;