-
Bug
-
Resolution: Fixed
-
P2
-
internal
-
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.
>>> 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.
- blocks
-
JDK-8271024 ☂ JavaFX : Implement Metal Rendering Pipeline
- Open