Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8312083

Assertion in Ensemble8->3D Cubes demo when metal API validation is enabled

XMLWordPrintable

    • generic
    • os_x

      Enable Metal API validation and metal shader validation on terminal:
      export METAL_DEVICE_WRAPPER_TYPE=1
      export MTL_SHADER_VALIDATION=1

      Launch Ensemble8 app using metal rendering pipeline.

      Select -
      3D Cubes or 3D Box demo.

      It results in an assertion:

       Metal API Validation Enabled
      -[MTLDebugBlitCommandEncoder generateMipmapsForTexture:]:1115: failed assertion `Generate Mipmaps For Texture Validation
      [tex mipmapLevelCount](1) must be > 1.
      '

            jdv Jayathirth D V
            aghaisas Ajit Ghaisas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: