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

Override stencilAttachmentPixelFormat to maintain appropriate state

XMLWordPrintable

    • 2d
    • generic
    • os_x

      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.

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

              Created:
              Updated:
              Resolved: