Khronos Public Bugzilla
Bug 821 - ARB_texture_query_lod spec specifies textureQueryLOD instead of textureQueryLod
ARB_texture_query_lod spec specifies textureQueryLOD instead of textureQueryLod
Status: RESOLVED FIXED
Product: OpenGL
Classification: Unclassified
Component: Registry
3.3
PC Linux
: P3 normal
: ---
Assigned To: Jon Leech
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-07 08:44 PST by mattst88
Modified: 2013-04-11 13:19 PDT (History)
0 users

See Also:


Attachments
Patch to correct textureQueryLOD -> textureQueryLod (3.87 KB, patch)
2013-03-07 08:44 PST, mattst88
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mattst88 2013-03-07 08:44:58 PST
Created attachment 136 [details]
Patch to correct textureQueryLOD -> textureQueryLod

GLSL 4.00.7 and earlier 4.00 specs specify a textureQueryLOD function. The GLSL 4.00.8 spec notes a change:

> Change textureQueryLod to use "Lod" spelling instead of "LOD".

All subsequent versions of the GLSL spec use "Lod". It seems that Lod should have always been used.

The ARB_texture_query_lod (a backport extension of 4.0 functionality) has never been updated "LOD" -> "Lod". As more data points, the oglconform tests use the "Lod" version and the man pages specify the "Lod" version.

The attached patch corrects this oversight in the ARB_texture_query_lod spec.
Comment 1 Jon Leech 2013-04-11 13:19:17 PDT
Hi Matt,
The ARB discussed this and added a clarifying issue 3 in the extension spec -
but the difference in spelling is intentional.