KhronosGroup / OpenGL-API

OpenGL and OpenGL ES API Issue Tracker
34 stars 5 forks source link

question about GetActiveUniformBlockiv in OpenGL ES spec3.2 #73

Closed TimeToWakeUp closed 4 years ago

TimeToWakeUp commented 4 years ago

Hi, I have a question about GetActiveUniformBlockiv api. In OpenGL ES spec3.2, the input parameter pname of GetActiveUniformBlockiv can be set to UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER, UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER and UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER, but why did I not find the values of the UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER, UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER, and UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER macros in the header file of the official khronos gles opegl api? image

This is the link to the spec document what I'm using, and you can see the three enumerants in this document. https://www.khronos.org/registry/OpenGL/specs/es/3.2/es_spec_3.2.pdf

pdaniell-nv commented 4 years ago

Looks like this is a dupe of https://github.com/KhronosGroup/OpenGL-Registry/issues/417.