HLSL: Error if funcion with return type doesn't return a value.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
float4 PixelShaderFunction(float4 input) : COLOR0
|
||||
void PixelShaderFunction(float4 input) : COLOR0
|
||||
{
|
||||
int x;
|
||||
x;
|
||||
|
||||
Reference in New Issue
Block a user