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

Ensemble crashes when run on M1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • internal
    • internal
    • javafx
    • fx-sandbox:metal branch

    • generic
    • os_x

      If we launch Ensemble8 on latest metal branch code. It crashes at MetalShader.setFloat2() with following log :

      >>> MTLShader.setConstant() : fragmentFunctionName : FillRoundRect_Color
          MTLShader.setConstant() name = oinvarcradii, f0 = 0.083333336, f1 = 0.083333336
      2023-03-09 14:23:05.380 java[8931:260143]
      2023-03-09 14:23:05.380 java[8931:260143] -> JNICALL Native: MTLShader_nSetFloat2
      2023-03-09 14:23:05.380 java[8931:260143]
      2023-03-09 14:23:05.380 java[8931:260143] >>>> MetalShader.setFloat2() : argumentName = oinvarcradii, f0= 0.083333, f1= 0.083333
      2023-03-09 14:23:05.380 java[8931:260143] MetalShader.setFloat2()----> fragFuncName: FillRoundRect_Color
      2023-03-09 14:23:05.380 java[8931:260143] Value: 0 for key: oinvarcradii
      2023-03-09 14:23:05.380 java[8931:260143] index.intValue: 0

      And this crash is seen only when we use setFloat2() with other set of arguments it is working fine.

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

              Created:
              Updated:
              Resolved: