SharpVk
SharpVk copied to clipboard
Extend Shanq capabilities
- [ ] Matrix type support
- [x] Matrix type declaration
- [x] Matrix types in Uniform Buffers
- [ ] Generalise to all structs containing matrices
- [ ] Matrix constants
- [ ] Array type support
- [ ] Core Maths functions
- [ ] Builtin property inputs
- [x] Uniform Buffer Objects
- [x] Binding declaration
- [x] Specify binding & descriptor set indices
- [x] Texture samplimg
Do you think you can make this capable of generating compute shaders? And are there any examples available?
Yep, compute shaders are a definite possibility; I'm working on porting some of Sascha's examples at the minute, will include the compute sample and see how much work would be required for Shanq support.
Off Topic question: If I were to make a proper OpenCL C shader, how would I map the buffers/variables to the shader through vulkan? Do you know? I can compile OpenCL C to spir-v, so that's not an issue.
I'm not that familiar with OpenCL/Vulkan, sorry; I'd probably look at the disassembly of the OpenCL SPIR-V vs. a GLSL compute shader and go from there.