Skip to content
Permalink
Browse files
8264317: Lanai: IncorrectUnmanagedImageRotatedClip.java fails on appl…
…e M1

Reviewed-by: serb
  • Loading branch information
Alexey Ushakov authored and mrserb committed Apr 25, 2021
1 parent f1f2afd commit 3bf4c904fbbd87d4db18db22c1be384616483eed
@@ -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];
@@ -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

1 comment on commit 3bf4c90

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 3bf4c90 Apr 25, 2021

Please sign in to comment.