Skip to content

Replace gpu enums with bitflags#200

Merged
revmischa merged 1 commit into
vhspace:masterfrom
florianvazelle:fix-enums
Jul 28, 2025
Merged

Replace gpu enums with bitflags#200
revmischa merged 1 commit into
vhspace:masterfrom
florianvazelle:fix-enums

Conversation

@florianvazelle

Copy link
Copy Markdown
Contributor

Hi, I don't know the state of sdl3::gpu refactor #158, but I think we can divide the refactoring into several PRs.

This one concerns the correction of enumerations (Unsound types in gpu::enums #147).

This allows to do OR operator like:

TextureUsage::SAMPLER | TextureUsage::DEPTH_STENCIL_TARGET

@revmischa
revmischa merged commit 73daa34 into vhspace:master Jul 28, 2025
3 checks passed
@florianvazelle
florianvazelle deleted the fix-enums branch July 29, 2025 09:55
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.

3 participants