Skip to content

Examples: ComputeSpriteBatch: add uniform buffer#49

Open
MirkoCovizzi wants to merge 1 commit into
TheSpydog:mainfrom
MirkoCovizzi:extend-spritebatch
Open

Examples: ComputeSpriteBatch: add uniform buffer#49
MirkoCovizzi wants to merge 1 commit into
TheSpydog:mainfrom
MirkoCovizzi:extend-spritebatch

Conversation

@MirkoCovizzi

Copy link
Copy Markdown

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 <mrkcvzz@gmail.com>
@MirkoCovizzi

MirkoCovizzi commented Dec 24, 2024

Copy link
Copy Markdown
Author

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