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

Enable vertex pulling (storage buffers + vertex id) #922

Closed
floooh opened this issue Oct 23, 2023 · 2 comments
Closed

Enable vertex pulling (storage buffers + vertex id) #922

floooh opened this issue Oct 23, 2023 · 2 comments

Comments

@floooh
Copy link
Owner

floooh commented Oct 23, 2023

Now that GLES2/WebGL1 has been dropped it's time to look into the topic of "rendering without vertex buffers" again:

  • don't require a vertex layout specification when creating a pipeline object
  • d3d11: _sg_validate_shader_desc(): don't require a semantic name in the first vertex attribute
  • don't require a vertex buffer to be bound for rendering
  • add storage buffer type (e.g. indexable items)
  • check that gl_VertexID is properly supported by sokol-shdc

PS: WebGL2 doesn't have storage buffer support either. It still should support rendering without vertex buffers though (e.g. pulling the data from a texture or uniform)

@floooh
Copy link
Owner Author

floooh commented May 13, 2024

Fixed.

@floooh floooh closed this as completed May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant