Skip to content
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

Fix VS uniform fields type declaration #704

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

PabloMK7
Copy link
Member

The VS uniform field definition is a bool in C, which is 1 byte, but on shaders this is 4 bytes. When setting the bool in C the lower byte is the only changed, leaving the other 3 as garbage.

Copy link
Member

@OpenSauce04 OpenSauce04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have locally verified that this fixes the issue

@OpenSauce04 OpenSauce04 merged commit fac8ae2 into azahar-emu:master Mar 17, 2025
12 checks passed
@PabloMK7 PabloMK7 deleted the fixmirror branch March 17, 2025 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants