icculus / mojoshader

Use Direct3D shaders with other 3D rendering APIs.
https://icculus.org/mojoshader/
zlib License
122 stars 36 forks source link

Vulkan UBO Rewrite #31

Closed thatcosmonaut closed 4 years ago

flibitijibibo commented 4 years ago

This all makes sense, I can apply this to Hg and do the style fixes myself... just need to verify that the bool program posted in the Discord and this is good to go.

flibitijibibo commented 4 years ago

Turns out bools for the Vulkan UBO are jerks! So I ended up writing a fresh patch for that, this works with the bool test:

https://github.com/FNA-XNA/MojoShader/commit/294eb3ca74afc2026e706ad872ed2b61c1b8144b

Once this is rebased I'll pull it in alongside the new Vulkan memory manager.

flibitijibibo commented 4 years ago

Cleaned up and merged manually: https://hg.icculus.org/icculus/mojoshader/rev/89c389e4112f