Metal 2 API for macOS and iOS

Discussion in 'Rendering Technology and APIs' started by Scott_Arm, Jun 5, 2017.

Tags:
  1. Scott_Arm

    Legend

    Joined:
    Jun 16, 2004
    Messages:
    14,642
    Likes Received:
    6,667
    No real details yet that I've seen, but supposedly "10x drawcall throughput" or shit like that. Big VR push. External GPU support with thunderbolt 3.

    https://developer.apple.com/metal/

    Some details are up.

     
    #1 Scott_Arm, Jun 5, 2017
    Last edited: Jun 5, 2017
    Lightman likes this.
  2. Scott_Arm

    Legend

    Joined:
    Jun 16, 2004
    Messages:
    14,642
    Likes Received:
    6,667
    New features for MacOS, iOS, TvOS:
    https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf

    Looks like MacOS 10.13 gpufamily1_v3 brings the following to MacOS:

    Metal performance shaders (from iOS)
    Linear textures
    Resource heaps
    array of textures
    array of samplers
    wide color pixel format
    indirect argument buffers
    programmable sample positions
    uniform type
    raster order groups
    non-uniform threadgroup size
    multiple viewports
    device notifications
    BGR10A2Unorm (Extended range and wide color pixel formats)

    Now the question is which gpus fall under gpufamily1_v3.

    @sebbbi
     
    #2 Scott_Arm, Jun 5, 2017
    Last edited: Jun 6, 2017
  3. slime

    Newcomer

    Joined:
    May 21, 2014
    Messages:
    3
    Likes Received:
    1
    All GPUs that supported Metal previously (Intel HD 4000+, AMD GCN, nvidia 600+? or 400+? I forget) are part of GPU Family 1. V3 is basically the software API version.
     
    Scott_Arm likes this.
  4. Scott_Arm

    Legend

    Joined:
    Jun 16, 2004
    Messages:
    14,642
    Likes Received:
    6,667
    That makes sense. Then they must have a way of checking individual features supported by the gpu.
     
  5. Rys

    Rys Graphics @ AMD
    Moderator Veteran Alpha

    Joined:
    Oct 9, 2003
    Messages:
    4,172
    Likes Received:
    1,525
    Location:
    Beyond3D HQ
    Updated the thread title to include that Metal 2 also supports iOS (where the API originated).
     
    BRiT likes this.
  6. sebbbi

    Veteran

    Joined:
    Nov 14, 2007
    Messages:
    2,924
    Likes Received:
    5,293
    Location:
    Helsinki, Finland
    Great features additions to MacOS. Many of these have already been available on iOS. For example: https://developer.apple.com/library...al/MTLBestPracticesGuide/IndirectBuffers.html.
     
  7. Scott_Arm

    Legend

    Joined:
    Jun 16, 2004
    Messages:
    14,642
    Likes Received:
    6,667
    Doesn't seem like as many features were added to iOS, though it is more complicated with more families of GPUs. The following were added to family3, which I guess would be the newest hardware:

    array of samplers
    dual-source blending
    indirect argument buffers
    programmable sample positions
    uniform type

    It does seem like this Metal 2 release is playing a lot of catch up on the MacOS side, which is good. It seems like iOS and MacOS are now mostly in line.
     
    #7 Scott_Arm, Jun 6, 2017
    Last edited: Jun 6, 2017
  8. Corvo

    Joined:
    Jun 6, 2017
    Messages:
    2
    Likes Received:
    0
    According to Metal Feature Sets.

    The Gpufamily1 supports 'indirect argument buffer', but no support for Indirect Draw?
     
  9. wco81

    Legend

    Joined:
    Mar 20, 2004
    Messages:
    6,580
    Likes Received:
    478
    Location:
    West Coast
    Not strictly about graphics but they really talked up ML at the keynote.

    Now supposedly the best ML technology requires Nvidia GPUs and code yet none of Apples products ship with Nvidia card.

    So access Nvidia Cards through eGPU?
     
  10. jiaolu

    Newcomer

    Joined:
    Feb 25, 2008
    Messages:
    40
    Likes Received:
    9
    will apple ever use cuda? nope, so what's use of nv technology for apple. facebook and google use extensively cuda and cudnn.
     
  11. Scott_Arm

    Legend

    Joined:
    Jun 16, 2004
    Messages:
    14,642
    Likes Received:
    6,667
    You can already use nvidia gpus as external in macos. People have been using them for years. I expect them to be fully supported in high sierra. There are even official cuda drivers for macos available from nvidia.
     
    #11 Scott_Arm, Jun 7, 2017
    Last edited: Jun 7, 2017
  12. Scott_Arm

    Legend

    Joined:
    Jun 16, 2004
    Messages:
    14,642
    Likes Received:
    6,667
    Looks like some of the vids at the link are up:
    https://developer.apple.com/metal/

    I'll check them out when I get home. Seems like the gpu debugging has undergone a pretty big improvement.
     
    BRiT likes this.
  13. pTmdfx

    Regular Newcomer

    Joined:
    May 27, 2014
    Messages:
    380
    Likes Received:
    340
    I saw a screenshot of a Radeon Pro 560 reporting support of raster order group in a playground. This is interesting consider the fact that Polaris does not support DX12_1 ROV at the moment.
     
  14. mfaisalkemal

    Newcomer

    Joined:
    May 26, 2017
    Messages:
    61
    Likes Received:
    33
    does anyone know whats games on iOS that using tesselation and why no update until know on GFXBench Metal benchmark car chase test For iOS?
     
  15. Scott_Arm

    Legend

    Joined:
    Jun 16, 2004
    Messages:
    14,642
    Likes Received:
    6,667
    milk likes this.
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...