Hey guys, we're going to release the 3.1.3 ABI stable preview today. Can you write up a quick introduction in the #CategoryGPU section of SDL_gpu.h? Please include the goals, who it's for, where to find examples, etc.
This line in src/gpu/SDL_gpu.c's SDL_GPUSelectBackend() ... SDL_LogError(SDL_LOG_CATEGORY_GPU, "No supported SDL_GPU backend found!"); ...causes the console to pop up on all the examples, because we don't have WebGPU support yet (and when we do, there still may be browsers ...
It compiles on my MacOS with clang-1500.3.9.4, along with examples and tests :D I have created atestgpu_with_sdlrender.cwhich is based ontestgpu_clear.c, but adds usage of SDL_Renderer which draws a red rectangle and a icon.bmp texture after performing a simple no-draw GPU renderpass...
I attempted to run the examples from https://github.com/TheSpydog/SDL_gpu_examples on my Ubuntu 18 virtual machine to confirm as well. Project builds, but SDL_CreateGPUDevice(SDL_ShaderCross_GetSPIRVShaderFormats(), true, NULL) fails. I ...
examples of SDL3 GPU API. Contribute to VisualGMQ/SDL3_gpu_example development by creating an account on GitHub.
https://github.com/klukaszek/SDL3-WebGPU-Examples @klukaszek leandro-benedet-garcia commented Sep 11, 2024 FYI: https://x.com/kylelukaszek/status/1832979451203686676 Sorry, could you post a screen shot? Twitter is banned in my country. Author ShadowMarker789 commented Sep 11, 2024 FYI:...
I'm trying to useSDL_DrawGPUIndexedPrimitivesIndirectto draw some quads with a Vulkan backend. I have an indirect buffer setup with one instance ofSDL_GPUIndexedIndirectDrawCommandthat I populate like so: text_allocation*alloc=&gf->texts[i];SDL_GPUIndexedIndirectDrawCommand*cmd=&gf->indirect_m...
I took a look at some different shader examples, and the more interesting shaders needed way more functionality than would be possible in the SDL 2D renderer. BTW, Godot's VisualShaders rock. :) slouken closed this as not planned Sep 17, 2024 Author paked commented Sep 18, 2024 ...
either map, then write directly to the transfer buffer, then do a copy-pass or, in some unavoidable cases when batch rendering, memcpy large buffers into the mapped transfer buffers and then do a copy-pass, like shown in the examples here https://github.com/TheSpydog/SDL_gpu_examples. ...
There are now examples in the main SDL repo, so let's move to that system so it can get merged along with the API!flibitijibibo self-assigned this Jul 25, 2024 Collaborator Author flibitijibibo commented Aug 16, 2024 This is partially blocked by #13, but it's probably also ...