float4 PixelShaderFunction(float2 TexCoord: TEXCOORD0) : COLOR0
{
float4 color1 = tex2D(inputSampler, TexCoord);
float numb = TestFunc( 5 );
float4 color3 = color1 + numb;
return color3;
}
float TestFunc(float numb)
{
return numb + 1;
}
我收到一条错误消息,提示错误 x3004: undeclared identifier 'TestFunc'