HLSL: Fix #771: add inline keyword.
This commit is contained in:
parent
95e736c83b
commit
36b218de91
5 changed files with 9 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue