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

Bug 55 #56

Merged
merged 4 commits into from
Jul 7, 2017
Merged

Bug 55 #56

merged 4 commits into from
Jul 7, 2017

Conversation

tangent-vector
Copy link
Contributor

The main change here is a fix for #55. There are also a few small fixes that came up while trying to get my repro test case working on top-of-tree.

`SPECIALIZTION` -> `SPECIALIZATION`
This logic hadn't been updated for Vulkan GLSL.
Fixes shader-slang#55

I was incorrectly computing alignment as `elementSize * elementAlignment`, rounded up to a power of two (which works out to be `elementSize` squared), when I should have been using `elementSize * elementCount`, rounded up to a power of two.
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

1 participant