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

ScissorRect validation error when we move between monitors

XMLWordPrintable

    • generic
    • os_x

      Steps to reproduce:
      1)Open Ensemble8->Controls->Pagination sample
      2) Move between images
      3) Click on toggle pagination style button
      4) Then move the Ensemble8 window between monitors.

      With Metal API and Shader validation we will see crash with below assertion:

      jdv@jdv-mac rt % java @/Users/jdv/dev/workspace/jfx/sandbox/rt/build/run.args -Dcom.sun.webkit.useHTTP2Loader=false -jar apps/samples/Ensemble8/dist/Ensemble8.jar
      2024-07-30 15:56:20.775 java[14251:7083461] Metal API Validation Enabled
      -[MTLDebugRenderCommandEncoder setScissorRect:]:4048: failed assertion `Set Scissor Rect Validation
      (rect.x(780) + rect.width(489))(1269) must be <= render pass width(1024)
      '
      zsh: abort java @/Users/jdv/dev/workspace/jfx/sandbox/rt/build/run.args -jar

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

              Created:
              Updated:
              Resolved: