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

RenderPipelineState assertion error in J2DDemo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • CPU:
      generic
    • OS:
      os_x

      Description

      Enable Metal API validation and set default display as External monitor. Run J2DDemo->Transforms tab -> Perform multiple plug/unplug of external monitor

      We get error :
      [V] MTLRenderQueue_flushBuffer: opcode=51, rem=1404
      [I] MTLContext.setClipRect: 0,0 - 1118,440
      [I] MTLClip.setClipRect: x=0 y=0 w=1118 h=440
      [V] MTLRenderQueue_flushBuffer: opcode=101, rem=1384
      [I] MTLContext.setColorPaint: pixel=ff000000 [r=0 g=0 b=0 a=255]
      [V] MTLRenderQueue_flushBuffer: opcode=22, rem=1376
      [I] MTLRenderer_FillParallelogram(x= 0.25 y= 0.25 dx1=1118.00 dy1= 0.00 dx2= 0.00 dy2=440.00 dst tex=0x7ff38bdebbb0)
      [V] MTLRenderQueue_flushBuffer: opcode=90, rem=1348
      [V] MTLRenderQueue_flushBuffer: opcode=70, rem=1344
      [V] MTLContext_SetSurfaces: bsrc=0x7ff38d2e0110 (tex=0x7ff38cfbe4f0 type=5), bdst=0x7ff38d2e0110 (tex=0x7ff38cfbe4f0 type=5)
      [V] MTLRenderQueue_flushBuffer: opcode=51, rem=1324
      [I] MTLContext.setClipRect: 0,0 - 850,600
      [I] MTLClip.setClipRect: x=0 y=0 w=850 h=600
      [V] MTLRenderQueue_flushBuffer: opcode=20, rem=1304
      [I] MTLRenderer_FillRect
      [I] MTLRenderer_FillRect (x=0 y=0 w=850 h=600), dst tex=0x7ff38cfbe4f0
      [V] MTLContext : commandBuffer is NULL
      -[MTLDebugRenderCommandEncoder validateCommonDrawErrors:instanceCount:baseInstance:maxVertexID:]:3889: failed assertion `renderPipelineState must be set.'
      Abort trap: 6

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              avu Alexey Ushakov
              Reporter:
              jdv Jayathirth D V
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: