Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualAllEightUp

Posted 07 April 2013 - 01:19 PM

I have occasionally run into an issue with the HLSL compiler where it will falsely emit that error when I use mid-function return statements. Usually I would just we-write the function to take out the return statements and the error would go away.

Oh noes, Elmer Fudd has invaded GameDev.net!!!!!  (see above "we-write")

 

Sorry, just couldn't resist........... smile.png


#1AllEightUp

Posted 07 April 2013 - 01:19 PM

I have occasionally run into an issue with the HLSL compiler where it will falsely emit that error when I use mid-function return statements. Usually I would just we-write the function to take out the return statements and the error would go away.

Oh noes, Elmer Fud has invaded GameDev.net!!!!!  (see above "we-write")

 

Sorry, just couldn't resist........... :)


PARTNERS