-
Bug
-
Resolution: Fixed
-
P2
-
internal
-
generic
-
os_x
When Metal API Validation is enabled 2 jtreg tests are failing because of invalid setRectClip data.
Failed jtreg tests :
java/awt/Focus/Cause/FocusCauseTest.java
java/awt/Mixing/AWT_Mixing/JScrollPaneOverlapping.java
jtreg j2d trace logs :
[V] MTLRenderQueue_flushBuffer: opcode=51, rem=160
[I] MTLContext.setClipRect: 7,25 - 72,22
[E] MTLClip.setClipRect: invalid rect: x1=7 y1=25 x2=72 y2=22
[I] MTLClip.setClipRect: x=7 y=25 w=65 h=-3
[V] MTLRenderQueue_flushBuffer: opcode=101, rem=140
[I] MTLContext.setColorPaint: pixel=ff000000 [r=0 g=0 b=0 a=255]
[V] MTLRenderQueue_flushBuffer: opcode=20, rem=132
[I] MTLRenderer_FillRect
[I] MTLRenderer_FillRect (x=7 y=25 w=1 h=16), dst tex=0x7fc06895cdb0
----------System.err:(21/1686)----------
2021-02-15 14:51:33.484 java[49798:1529850] Metal API Validation Enabled
2021-02-15 14:51:33.774 system_profiler[49800:1529939] Metal API Validation Enabled
2021-02-15 14:51:34.923 java[49798:1529885] name is : .SFNS-Regular
2021-02-15 14:51:34.923 java[49798:1529885] family is : .AppleSystemUIFont
2021-02-15 14:51:34.924 java[49798:1529885] name is : .SFNS-Bold
2021-02-15 14:51:34.924 java[49798:1529885] family is : .AppleSystemUIFont
2021-02-15 14:51:35.329 java[49798:1529885] nsFont-name is : .AppleSystemUIFont
2021-02-15 14:51:35.329 java[49798:1529885] nsFont-family is : .AppleSystemUIFont
2021-02-15 14:51:35.329 java[49798:1529885] nsFont-desc-name is : .SFNS-Regular
2021-02-15 14:51:35.329 java[49798:1529885] nsFont-name is : .AppleSystemUIFont
2021-02-15 14:51:35.329 java[49798:1529885] nsFont-family is : .AppleSystemUIFontBold
2021-02-15 14:51:35.330 java[49798:1529885] nsFont-desc-name is : .SFNS-Bold
2021-02-15 14:51:35.338 java[49798:1529885] nsFont-name is : .AppleSystemUIFont
2021-02-15 14:51:35.338 java[49798:1529885] nsFont-family is : .AppleSystemUIFont
2021-02-15 14:51:35.338 java[49798:1529885] nsFont-desc-name is : .SFNS-Regular
2021-02-15 14:51:35.352 java[49798:1529885] nsFont-name is : .AppleSystemUIFont
2021-02-15 14:51:35.352 java[49798:1529885] nsFont-family is : .AppleSystemUIFontBold
2021-02-15 14:51:35.352 java[49798:1529885] nsFont-desc-name is : .SFNS-Bold
2021-02-15 14:51:35.380 java[49798:1529850] became key: 0 (null)
2021-02-15 14:51:35.386 java[49798:1529850] became main: 1 (null) 1
-[MTLDebugRenderCommandEncoder setScissorRect:]:2703: failed assertion `(rect.y(25) + rect.height(0))(25) must be <= render pass height(22)'
Failed jtreg tests :
java/awt/Focus/Cause/FocusCauseTest.java
java/awt/Mixing/AWT_Mixing/JScrollPaneOverlapping.java
jtreg j2d trace logs :
[V] MTLRenderQueue_flushBuffer: opcode=51, rem=160
[I] MTLContext.setClipRect: 7,25 - 72,22
[E] MTLClip.setClipRect: invalid rect: x1=7 y1=25 x2=72 y2=22
[I] MTLClip.setClipRect: x=7 y=25 w=65 h=-3
[V] MTLRenderQueue_flushBuffer: opcode=101, rem=140
[I] MTLContext.setColorPaint: pixel=ff000000 [r=0 g=0 b=0 a=255]
[V] MTLRenderQueue_flushBuffer: opcode=20, rem=132
[I] MTLRenderer_FillRect
[I] MTLRenderer_FillRect (x=7 y=25 w=1 h=16), dst tex=0x7fc06895cdb0
----------System.err:(21/1686)----------
2021-02-15 14:51:33.484 java[49798:1529850] Metal API Validation Enabled
2021-02-15 14:51:33.774 system_profiler[49800:1529939] Metal API Validation Enabled
2021-02-15 14:51:34.923 java[49798:1529885] name is : .SFNS-Regular
2021-02-15 14:51:34.923 java[49798:1529885] family is : .AppleSystemUIFont
2021-02-15 14:51:34.924 java[49798:1529885] name is : .SFNS-Bold
2021-02-15 14:51:34.924 java[49798:1529885] family is : .AppleSystemUIFont
2021-02-15 14:51:35.329 java[49798:1529885] nsFont-name is : .AppleSystemUIFont
2021-02-15 14:51:35.329 java[49798:1529885] nsFont-family is : .AppleSystemUIFont
2021-02-15 14:51:35.329 java[49798:1529885] nsFont-desc-name is : .SFNS-Regular
2021-02-15 14:51:35.329 java[49798:1529885] nsFont-name is : .AppleSystemUIFont
2021-02-15 14:51:35.329 java[49798:1529885] nsFont-family is : .AppleSystemUIFontBold
2021-02-15 14:51:35.330 java[49798:1529885] nsFont-desc-name is : .SFNS-Bold
2021-02-15 14:51:35.338 java[49798:1529885] nsFont-name is : .AppleSystemUIFont
2021-02-15 14:51:35.338 java[49798:1529885] nsFont-family is : .AppleSystemUIFont
2021-02-15 14:51:35.338 java[49798:1529885] nsFont-desc-name is : .SFNS-Regular
2021-02-15 14:51:35.352 java[49798:1529885] nsFont-name is : .AppleSystemUIFont
2021-02-15 14:51:35.352 java[49798:1529885] nsFont-family is : .AppleSystemUIFontBold
2021-02-15 14:51:35.352 java[49798:1529885] nsFont-desc-name is : .SFNS-Bold
2021-02-15 14:51:35.380 java[49798:1529850] became key: 0 (null)
2021-02-15 14:51:35.386 java[49798:1529850] became main: 1 (null) 1
-[MTLDebugRenderCommandEncoder setScissorRect:]:2703: failed assertion `(rect.y(25) + rect.height(0))(25) must be <= render pass height(22)'