GLSL
GLSL copied to clipboard
GLSL Specification 4.60.7: typos in function signatures
In The OpenGL Shading Language, Version 4.60.7, section 8.9.2. Texel Lookup Functions the parameter P
is missing a type in the gsampler3D
overload of textureGrad
gvec4 textureGrad(gsampler3D sampler, P, vec3 dPdx, vec3 dPdy)
~ missing parameter type 'vec3'
In section 8.12, Image Functions one of the overloads of imageSize
is listed with the type gimageRect
which does not exist. The correct parameter type should be gimage2DRect
ivec2 imageSize(readonly writeonly gimageRect image)
~~~~~~~~~~ should be gimage2DRect
Thanks for the report. I've made the changes that you suggest, so (subject to approval) they should be fixed in the next spec release.
This is fixed in spec revision 8.