-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Reference: https://wiki.libsdl.org/SDL3/SDL_GPUShaderFormat
typedef Uint32 SDL_GPUShaderFormat;
#define SDL_GPU_SHADERFORMAT_INVALID 0
#define SDL_GPU_SHADERFORMAT_PRIVATE (1u << 0) /**< Shaders for NDA'd platforms. */
#define SDL_GPU_SHADERFORMAT_SPIRV (1u << 1) /**< SPIR-V shaders for Vulkan. */
#define SDL_GPU_SHADERFORMAT_DXBC (1u << 2) /**< DXBC SM5_1 shaders for D3D12. */
#define SDL_GPU_SHADERFORMAT_DXIL (1u << 3) /**< DXIL SM6_0 shaders for D3D12. */
#define SDL_GPU_SHADERFORMAT_MSL (1u << 4) /**< MSL shaders for Metal. */
#define SDL_GPU_SHADERFORMAT_METALLIB (1u << 5) /**< Precompiled metallib shaders for Metal. */
Futhark will wrap SDL_GPUShaderFormat as a Uint32, however, none of the constants below. Why not? C2nim does this.
If this isn't some sort of bug- what do you recommend as a fix here? any ideas for this to be a more programmatic solution?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels