Skip to content

gpu: Show a debug error when pipelines are not given the right shader stages #11901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

flibitijibibo
Copy link
Collaborator

Fixes #11540

@flibitijibibo
Copy link
Collaborator Author

Verified the fix by just swapping the shader pointers in testgpu_spinning_cube; some day it'd be cool to verify it at CreateShader time too but that requires poking into the bytecode, which is easier said than done.

@flibitijibibo flibitijibibo merged commit 90aff30 into libsdl-org:main Jan 10, 2025
40 checks passed
@flibitijibibo flibitijibibo deleted the shaderstage branch January 10, 2025 01:17
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.

[GPU] Wrong shader stage doesn't trigger any errors
1 participant