KhronosGroup / GLSL

GLSL Shading Language Specification and Extensions
Other
337 stars 98 forks source link

GLSL Specification 4.60.7: typos in function signatures #173

Closed kociap closed 9 months ago

kociap commented 2 years ago

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
gnl21 commented 2 years ago

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.

gnl21 commented 9 months ago

This is fixed in spec revision 8.