Details
-
Bug
-
Resolution: Fixed
-
P3
-
17
-
b13
-
generic
-
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
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
- relates to
-
JDK-8262936 Add tighter checks while creating MTLRenderPipelineDescriptors
-
- Resolved
-