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.

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

              Created:
              Updated:
              Resolved: