SharpVk icon indicating copy to clipboard operation
SharpVk copied to clipboard

Extend Shanq capabilities

Open FacticiusVir opened this issue 7 years ago • 4 comments

  • [ ] 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

FacticiusVir avatar Sep 05 '16 15:09 FacticiusVir

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

sunkin351 avatar Jan 21 '17 01:01 sunkin351

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.

FacticiusVir avatar Jan 21 '17 01:01 FacticiusVir

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.

sunkin351 avatar Jan 21 '17 20:01 sunkin351

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.

FacticiusVir avatar Jan 21 '17 20:01 FacticiusVir