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

Override stencilAttachmentPixelFormat to maintain appropriate state

    XMLWordPrintable

Details

    • 2d
    • generic
    • os_x

    Description

      We dont end the encoder in EncoderManager when we move from stencil based opcodes to other opcodes because doing so might decrease the performance. Also for stencil based opcodes we set stencilAttachmentPixelFormat in updatePipelineState.

      But this might cause issues when we enable Metal API validation and hit non stencil based opcodes after stencil operation in same encoder. Override the stencilAttachmentPixelFormat to maintain appropriate state until we end the encoder.

      Attachments

        Issue Links

          Activity

            People

              jdv Jayathirth D V
              jdv Jayathirth D V
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: