fix and refactor vulkan constant and storage buffer mapping#240
fix and refactor vulkan constant and storage buffer mapping#240kaffeewolf merged 1 commit intogscept:masterfrom
Conversation
|
Reasoning behind the refactoring part of the shader class was to get both constant and storage buffer calculations in a similar shape. I also noticed some consistencies in the other buffers as well, which was the baseline for the idea to add some functions for code that appears the same every time. So I basically prepared such a change but didn't add too many functions at once now since that would require some more thought. Also the usage of |
Duttenheim
left a comment
There was a problem hiding this comment.
Looks good, greatly simplified this mess! 👍
|
Have rebased the PR to the master as merging was reverting some changes I made which would duplicate some logic. It's good to merge in my opinion. |
No description provided.