Skip to content

Commit

Permalink
8264317: Lanai: IncorrectUnmanagedImageRotatedClip.java fails on appl…
Browse files Browse the repository at this point in the history
…e M1

Reviewed-by: serb
  • Loading branch information
Alexey Ushakov authored and mrserb committed Apr 25, 2021
1 parent f1f2afd commit 3bf4c90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ - (NSString *)getDescription __unused {
clearPassDescriptor.stencilAttachment.texture = _stencilTextureRef;
clearPassDescriptor.stencilAttachment.clearStencil = 0;
clearPassDescriptor.stencilAttachment.loadAction = MTLLoadActionClear;
clearPassDescriptor.stencilAttachment.storeAction = MTLStoreActionStore;

id<MTLCommandBuffer> commandBuf = [_mtlc createCommandBuffer];
id <MTLRenderCommandEncoder> clearEncoder = [commandBuf renderCommandEncoderWithDescriptor:clearPassDescriptor];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
/**
* @test
* @key headful
* @bug 8059942
* @bug 8059942 8264317
* @summary Tests rotated clip when unmanaged image is drawn to VI.
* Results of the blit to compatibleImage are used for comparison.
* @run main/othervm -Dsun.java2d.uiScale=1 IncorrectUnmanagedImageRotatedClip
Expand Down

1 comment on commit 3bf4c90

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.