Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#ActualBitMaster

Posted 26 September 2013 - 08:34 AM

I think there was a very similar topic a while ago. While the driver cannot just drop the uniform from the uniform block it is under no obligation to supply you with a valid index while the uniform is not used in that particular shader (even though space is reserved for the uniform).

#1BitMaster

Posted 26 September 2013 - 08:33 AM

I think there was a very similar topic a while ago. While the driver cannot just drop the uniform from the uniform block it is under no obligation to supply you with a valid index while if the uniform is not used in that particular shader (even though space is reserved for the uniform; in that particular program it is just completely unused).

PARTNERS