Skip to content

Conversation

@victor-Lopez25
Copy link

@victor-Lopez25 victor-Lopez25 commented Nov 8, 2025

Added: SDL_ShaderCross_GPUVertexElementFormatFromIOVarMetadata
Maybe the name could be shorter? I wanted to keep similar to the name of the other functions

Very simple function but very useful when using SDL_shadercross with SDL_gpu api. Specifically when creating a pipeline with SDL_gpu from shaders compiled with SDL_shadercross.

Also, not sure where in SDL_shadercross.c it should go, so I just put it in the end of the file, same for SDL_shadercross.h

Added: SDL_ShaderCross_GPUVertexElementFormatFromIOVarMetadata
Maybe the name could be shorter? I wanted to keep similar to the name of the other functions
Very simple function but very useful when using SDL_shadercross with SDL_gpu api
Also, not sure where in SDL_shadercross.c it should go, so I just put it in the end of the file, same for SDL_shadercross.h
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