GLSL icon indicating copy to clipboard operation
GLSL copied to clipboard

GLSL Specification 4.60.7: typos in function signatures

Open kociap opened this issue 3 years ago • 1 comments

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

kociap avatar Jan 04 '22 23:01 kociap

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 avatar Jan 19 '22 16:01 gnl21

This is fixed in spec revision 8.

gnl21 avatar Dec 12 '23 17:12 gnl21