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

shader_recompiler: shaer patch to manualy normalize on unsupported Vulkan UNORM/SNORM formats #1532

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

LNDF
Copy link
Contributor

@LNDF LNDF commented Nov 14, 2024

Vulkan doesn't have support for SNORM/UNORM number formats for 32, 32_32, 32_32_32 and 32_32_32_32 data formats. Insteed use SINT/UINT and normalize/unormalize on shader when reading/writing.

Maybe we don't need to specialize by number of components, I can revert that.

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.

1 participant