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

VAO wrapper doesn't play well with padded format strings #64

Open
einarf opened this issue Jan 14, 2020 · 1 comment
Open

VAO wrapper doesn't play well with padded format strings #64

einarf opened this issue Jan 14, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@einarf
Copy link
Member

einarf commented Jan 14, 2020

When the user provides a format string with nxn it doesn't know how to hande it properly. It also doesn't handle cases were the number of formats are not the same as attributes. 3f 8x4 should be acceptable for one attribute because the second format simply expresses an offset to stride.

This must work for normal attributes and instance data. There is something fishy happening when using padding in instance data as well.

@einarf
Copy link
Member Author

einarf commented Jan 25, 2020

Note: We can also use Program.detect_format in 5.6.

@einarf einarf added the enhancement New feature or request label Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant