Cache MTLRenderPipelineState for Solid_Color fragment function

XMLWordPrintable

    • generic
    • os_x

      Solid_Color fragment function is used for clearing rectangle areas in rtt.
      clearRect occurs several times during rendering.

      The MTLRenderPipelineState created for Solid_Color fragment function is currently not cached, and gets recreated for each clearRect call.
      It should be cached to reduce the overhead of recreating it several times.

            Assignee:
            Ambarish Rapte
            Reporter:
            Ambarish Rapte
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: