kovasb / gamma

glsl shaders made simple
Eclipse Public License 1.0
306 stars 20 forks source link

Include correct argument types in shader compilation error message #7

Open sgrove opened 9 years ago

sgrove commented 9 years ago

When failing, currently there's a message like:

Uncaught Error: Wrong argument types for term texture2D: :sampler2d ,:vec2

Would be nice (since you know the right types) to include "Should be: ..."