Ensemble crashes when run on M1

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • internal
    • Affects Version/s: internal
    • Component/s: javafx
    • Environment:

      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.

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

              Created:
              Updated:
              Resolved: