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

Avoid creating MTLDepthStencilState repeatedly

XMLWordPrintable

    • generic
    • os_x

      There are only 2 types of MTLDepthStencilState possible - depth stencil enabled or disabled.

      MTLPipelineManager.getDepthStencilState() creates MTLDepthStencilState on each call.

      This can be avoided by caching it in MTLPipelineManager class.

            aghaisas Ajit Ghaisas
            aghaisas Ajit Ghaisas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: