HLSL: Error if funcion with return type doesn't return a value.
This commit is contained in:
parent
1a4b775cd5
commit
a305166ea4
15 changed files with 73 additions and 53 deletions
|
|
@ -7,4 +7,5 @@ int4x4 int44;
|
|||
|
||||
float1 ShaderFunction(float1 inFloat1, float inScalar) : COLOR0
|
||||
{
|
||||
return inFloat1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue