SDL_gpu_examples
SDL_gpu_examples copied to clipboard
WIP example collection for the SDL_Gpu API proposal
Adds a uniform buffer to the compute SpriteBatch example to showcase how to use uniform buffers together with storage buffers.
Without this it was not clear if make will get executed automatically or not (it does not), so one has to execute it by hand, which this PR makes clear.
When running the CompressedTextures example on macOS, in the build directory: ``` console $ make && ./SDL_gpu_examples [...] [ 2%] Building C object CMakeFiles/SDL_gpu_examples.dir/Examples/CompressedTextures.c.o [ 5%] Linking C executable SDL_gpu_examples...
I press D multiple time until the error , see below image . I am working on M1 Macbook pro , vscode
Could we get a shadow mapping example? I'm having difficulty implementing it myself. I am not having conceptual problems, I conceptually understand shadow mapping and have made an OpenGL equivalent....
These examples have validation warnings regarding VkDescriptorPoolCreateInfo-poolSizeCount: ``` VUID-VkDescriptorPoolCreateInfo-poolSizeCount-arraylength(ERROR / SPEC): msgNum: 149254764 - Validation Error: [ VUID-VkDescriptorPoolCreateInfo-poolSizeCount-arraylength ] Object 0: handle = 0x252e0ae58d0, type = VK_OBJECT_TYPE_DEVICE; | MessageID =...
Translation is via NDC coordinates. as described [here](https://github.com/libsdl-org/SDL/blob/520d73ae57064a49767b01db6bdcd85af0f579a8/include/SDL3/SDL_gpu.h#L258).
Hi, I've been trying out SDL3's new GPU API and it's been fun - these examples are very helpful also. However, there is one thing that confused me: There are...
=== INFO === When running aarch64 bookworm for the Raspberry Pi 5 we fail to build this project as SDL3 is not distributed To address this I've pulled in a...