Metal computer shader from SPIRV generated by new clspv tool?


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1296
    oscarbg
    Participant

      Please see for full details:
      https://github.com/KhronosGroup/SPIRV-Cross/issues/227

      Briefly would be nice to run OpenCL kernels translated to SPIR-V by new clspv tool on Vulkan API..
      sadly this requires some support from implementation the most important SPV_KHR_variable_pointers..
      also for images (textures) support can need:
      shaderStorageImageReadWithoutFormat
      shaderStorageImageWriteWithoutFormat
      support

      so just asking if Metal can support all that features and if MoltenVK is interested in exposing it..

      #1297
      Bill Hollings
      Keymaster

        @oscarbg

        Pointers and 16-bit int and float in/out variables should be acceptable in Metal.

        And yes…we plan to support this as much as possible in MoltenVK.

        …Bill

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The forum ‘MoltenVK Support’ is closed to new topics and replies.