Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#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