Created attachment 18220 [details] [review] Add sampler types to sizeof_glsl_type If you use glGetUniformLocation on a sampler type uniform then you get a warning about an invalid type. It calls a function called sizeof_glsl_type which seems to be missing handlers for the sampler types. In older git revisions this function would return zero and you would get a floating point exception.
Created attachment 18221 [details] Test case Test case calling glGetUniformLocation on a sampler2D uniform. Under Mesa 7.0.3 it causes a floating point exception but under git master it just prints a warning.
Fixed in git. Thanks.
Mass version move, cvs -> git
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.