FacticiusVir / SharpVk

C# Bindings for the Vulkan API & SPIR-V
MIT License
147 stars 18 forks source link

Extend Shanq capabilities #12

Open FacticiusVir opened 8 years ago

FacticiusVir commented 8 years ago
sunkin351 commented 7 years ago

Do you think you can make this capable of generating compute shaders? And are there any examples available?

FacticiusVir commented 7 years ago

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.

sunkin351 commented 7 years ago

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.

FacticiusVir commented 7 years ago

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.