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

[Android] Error:glMapBufferRange::<access> is not an accepted value #1740

Closed
Gordon-F opened this issue Jul 28, 2021 · 1 comment · Fixed by #1686
Closed

[Android] Error:glMapBufferRange::<access> is not an accepted value #1740

Gordon-F opened this issue Jul 28, 2021 · 1 comment · Fixed by #1686
Labels
type: bug Something isn't working

Comments

@Gordon-F
Copy link
Contributor

Description
Error:glMapBufferRange:: is not an accepted value

Repro steps
Run cube on Android.

Extra materials

if is_host_visible {
map_flags |= glow::MAP_PERSISTENT_BIT;
if is_coherent {
map_flags |= glow::MAP_COHERENT_BIT;
}
}

MAP_PERSISTENT_BIT and MAP_COHERENT_BIT are part of ARB_buffer_storage or EXT_buffer_storage not ES 3.0 spec.

Platform
Android 8.0, wgpu master.

@Gordon-F
Copy link
Contributor Author

Gordon-F commented Jul 28, 2021

Fixed in WebGL2 implementation PR #1686

@kvark kvark added the type: bug Something isn't working label Jul 29, 2021
Patryk27 pushed a commit to Patryk27/wgpu that referenced this issue Nov 23, 2022
…fx-rs#1740)

This lets us remove some special cases where `uint` must be fully
qualified, even though other similar types are not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants