SDL_gpu_examples icon indicating copy to clipboard operation
SDL_gpu_examples copied to clipboard

Examples: ComputeSpriteBatch: add uniform buffer

Open MirkoCovizzi opened this issue 11 months ago • 1 comments

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

MirkoCovizzi avatar Dec 24 '24 14:12 MirkoCovizzi

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 https://github.com/libsdl-org/SDL_shadercross/pull/77

MirkoCovizzi avatar Dec 24 '24 14:12 MirkoCovizzi