Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistencies related to buffer texture pnames #102

Open
matrefeytontias opened this issue Aug 1, 2021 · 1 comment
Open

Inconsistencies related to buffer texture pnames #102

matrefeytontias opened this issue Aug 1, 2021 · 1 comment

Comments

@matrefeytontias
Copy link

In the latest refpages on the glGet page, GL_TEXTURE_BINDING_BUFFER has two incompatible definitions :

GL_TEXTURE_BINDING_BUFFER

    data returns a single value, the name of the texture currently bound to the target GL_TEXTURE_BUFFER. The initial value is 0. See glBindTexture. 
GL_TEXTURE_BINDING_BUFFER

    data returns a single value, the name of the buffer object currently bound to the GL_TEXTURE_BUFFER buffer binding point. The initial value is 0. See glBindBuffer. 

Moreover, glGetTexLevelParameter does not list GL_TEXTURE_BUFFER_DATA_STORE_BINDING as an accepted pname, in contrast with eg the OpenGL ES 3 refpages that do list it. Besides, the OpenGL 4.6 core spec makes no mention of this pname.

Worthy of note is also that the refpage for glBindBuffer does not mention a pname for getting the buffer bound to GL_TEXTURE_BUFFER.

@pdaniell-nv pdaniell-nv transferred this issue from KhronosGroup/OpenGL-API Aug 3, 2021
@pdaniell-nv
Copy link
Collaborator

pdaniell-nv commented Aug 3, 2021

Thanks for reporting this issue.

Regarding this:

Besides, the OpenGL 4.6 core spec makes no mention of this [GL_TEXTURE_BUFFER_DATA_STORE_BINDING] pname.

It's on page 599 of the OpenGL 4.6 core spec (https://www.khronos.org/registry/OpenGL/specs/gl/glspec46.core.pdf) in Table 23.17. Some PDF readers have trouble searching for tokens with underscores when the page is landscape.

We'll look into the other issues you reported.

@KhronosWebservices KhronosWebservices transferred this issue from KhronosGroup/OpenGL-Registry Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants