Skip to content

Examples: ComputeSpriteBatch: add uniform buffer #49

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MirkoCovizzi
Copy link

Adds a uniform buffer to the compute SpriteBatch
example to showcase how to use uniform buffers
together with storage buffers.

Adds a uniform buffer to the compute SpriteBatch
example to showcase how to use uniform buffers
together with storage buffers.

Signed-off-by: Mirko Covizzi <[email protected]>
@MirkoCovizzi
Copy link
Author

MirkoCovizzi commented Dec 24, 2024

This example, together with other ones, is a good test scenario for determining that SDL_Shadercross is working as expected. From HLSL to MSL there are no issues, but from GLSL to MSL the buffer indices are incorrect, which is addressed here libsdl-org/SDL_shadercross#77

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

Successfully merging this pull request may close these issues.

1 participant