SDL3 GPU blend constant alpha

I’ve been tinkering around with the new SDL3 GPU api and really liking it.

I noticed that the SDL_GPUBlendFactor has CONSTANT_COLOR / ONE_MINUS_CONSTANT_COLOR options but none for CONSTANT_ALPHA?

I’m porting things over from a Vulkan project of mine and I don’t see the equivalent of:

  • VK_BLEND_FACTOR_CONSTANT_ALPHA
  • VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA