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

GPU: Correct shader gen with weights as floats #13906

Merged
merged 1 commit into from
Jan 10, 2021

Conversation

unknownbrackets
Copy link
Collaborator

For now, this supports the option. We should probably just move to everything being floats, but we already prefer software skinning.

Fixes #13903.

Although another parameter is slightly annoying, I figured this was the safest fix for any upcoming release. I know software skinning is slower in some uncommon cases, but before we force to floats/etc. we should probably consider whether we keep the option or if switching to floats is part of that equation in some unlikely way.

-[Unknown]

For now, this supports the option.  We should probably just move to
everything being floats, but we already prefer software skinning.

Fixes hrydgard#13903.
@unknownbrackets unknownbrackets added this to the v1.11.0 milestone Jan 10, 2021
@unknownbrackets unknownbrackets changed the title GPU: Correct shader gen with weights as floats. GPU: Correct shader gen with weights as floats Jan 10, 2021
@hrydgard
Copy link
Owner

Oh good catch! Not sure how I missed this during the big shader unification...

Yeah, you're right that supporting smaller formats for weights is probably not worth the trouble really..

@hrydgard hrydgard merged commit 5880ee4 into hrydgard:master Jan 10, 2021
@unknownbrackets unknownbrackets deleted the skinning branch January 10, 2021 18:39
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.

Lord of Arcana (EU) have invisible bottom part of model on D3D9/D3D11
2 participants