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

sanity/client/SwingSet/src/EditorPaneDemoTest.java fails with Metal API Validation

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      generic
    • OS:
      os_x

      Description

      Looks like in DrawLine we are passing invalid data when AA is enabled and thats why this test is throwing error with Metal API validation.

      [I] MTLContext.setColorPaint: pixel=ffffffff [r=255 g=255 b=255 a=255]
      [V] MTLRenderQueue_flushBuffer: opcode=20, rem=372
      [I] MTLRenderer_FillRect
      [I] MTLRenderer_FillRect (x=-35 y=-719 w=766 h=1109), dst tex=0x7fe1f1ef3bf0
      [V] MTLRenderQueue_flushBuffer: opcode=10, rem=352
      [I] MTLRenderer_DrawLine (x1=61 y1=13 x2=61 y2=13), dst tex=0x7fe1f1ef3bf0
      [V] MTLLayer_displayLinkCallback() called
      ----------System.err:(26/2178)----------
      2021-02-17 16:16:43.743 java[4703:3573344] Metal API Validation Enabled
      2021-02-17 16:16:44.172 system_profiler[4705:3573439] Metal API Validation Enabled
      2021-02-17 16:16:45.635 java[4703:3573379] name is : .SFNS-Regular
      2021-02-17 16:16:45.635 java[4703:3573379] family is : .AppleSystemUIFont
      2021-02-17 16:16:45.635 java[4703:3573379] name is : .SFNS-Bold
      2021-02-17 16:16:45.635 java[4703:3573379] family is : .AppleSystemUIFont
      2021-02-17 16:16:46.027 java[4703:3573379] nsFont-name is : .AppleSystemUIFont
      2021-02-17 16:16:46.027 java[4703:3573379] nsFont-family is : .AppleSystemUIFont
      2021-02-17 16:16:46.027 java[4703:3573379] nsFont-desc-name is : .SFNS-Regular
      2021-02-17 16:16:46.027 java[4703:3573379] nsFont-name is : .AppleSystemUIFont
      2021-02-17 16:16:46.027 java[4703:3573379] nsFont-family is : .AppleSystemUIFontBold
      2021-02-17 16:16:46.027 java[4703:3573379] nsFont-desc-name is : .SFNS-Bold
      2021-02-17 16:16:46.034 java[4703:3573379] nsFont-name is : .AppleSystemUIFont
      2021-02-17 16:16:46.034 java[4703:3573379] nsFont-family is : .AppleSystemUIFont
      2021-02-17 16:16:46.034 java[4703:3573379] nsFont-desc-name is : .SFNS-Regular
      2021-02-17 16:16:46.047 java[4703:3573379] nsFont-name is : .AppleSystemUIFont
      2021-02-17 16:16:46.047 java[4703:3573379] nsFont-family is : .AppleSystemUIFontBold
      2021-02-17 16:16:46.047 java[4703:3573379] nsFont-desc-name is : .SFNS-Bold
      2021-02-17 16:16:46.205 java[4703:3573344] became key: 0 JEditorPane Demo (null)
      2021-02-17 16:16:46.211 java[4703:3573344] became main: 1 JEditorPane Demo (null) 1
      2021-02-17 16:17:09.182 java[4703:3573344] resigned main: 1 JEditorPane Demo (null)
      2021-02-17 16:17:09.183 java[4703:3573344] resigned key: 0 JEditorPane Demo (null)
      2021-02-17 16:17:09.183 java[4703:3573344] deactivating window: JEditorPane Demo
      2021-02-17 16:17:09.927 java[4703:3573344] became key: 0 JEditorPane Demo (null)
      2021-02-17 16:17:09.928 java[4703:3573344] became main: 1 JEditorPane Demo (null) 1
      validateFunctionArguments:3485: failed assertion `Vertex Function(vert_col_aa): argument vertexBuffer.0[0] from buffer(0) with offset(0) and length(16) has space for 16 bytes, but argument has a length(24).'

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: