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

Support for hack formats R16 & AL16 #155

Closed
wants to merge 869 commits into from
Closed

Support for hack formats R16 & AL16 #155

wants to merge 869 commits into from

Conversation

K0bin
Copy link
Contributor

@K0bin K0bin commented Jun 8, 2019

AC Revelation appears to need those. #154
Wine claims that Windows driver don't support those formats but the comment that says that was written 8 years ago. Either way, this should at least silence the warnings and its rather trivial.

@Joshua-Ashton
Copy link
Owner

Surely the swizzle for AL16 should be
{ VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G }};

and R16:
{ VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_ONE, VK_COMPONENT_SWIZZLE_ONE, VK_COMPONENT_SWIZZLE_ONE }};

@Joshua-Ashton
Copy link
Owner

Also... You're using UINT formats and not UNORMs. This too is incorrect.

@K0bin
Copy link
Contributor Author

K0bin commented Jun 12, 2019

Changed it.

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.

None yet

5 participants