Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

8261706: Swing test fails Metal API Validation with setVertexBytes error #190

Conversation

jayathirthrao
Copy link
Member

@jayathirthrao jayathirthrao commented Feb 14, 2021

In MTLRenderer_DrawScanLines we are exceeding 4K limit for setVertexBytes and because of this we are seeing error with Metal API Validation enabled. Implemented logic to clamp vertex data to 4KB.

jtreg test passes with fix and also there are no sanity issues in J2DDemo, SwingSet2 and Font2DTest.


Progress

  • Change must not contain extraneous whitespace

Issue

  • JDK-8261706: Swing test fails Metal API Validation with setVertexBytes error

Download

$ git fetch https://git.openjdk.java.net/lanai pull/190/head:pull/190
$ git checkout pull/190

@bridgekeeper
Copy link

bridgekeeper bot commented Feb 14, 2021

👋 Welcome back jdv! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Feb 14, 2021

@jayathirthrao This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8261706: Swing test fails Metal API Validation with setVertexBytes error

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been no new commits pushed to the master branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added ready Pull request is ready to be integrated rfr Pull request is ready for review labels Feb 14, 2021
@jayathirthrao
Copy link
Member Author

/integrate

@openjdk openjdk bot closed this Feb 14, 2021
@openjdk openjdk bot added integrated Pull request has been integrated and removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Feb 14, 2021
@openjdk
Copy link

openjdk bot commented Feb 14, 2021

@jayathirthrao Pushed as commit 7d1d38f.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@jayathirthrao jayathirthrao deleted the JDK-8261706_drawscanline_setVertexByte_overflow branch February 14, 2021 16:44
@mlbridge
Copy link

mlbridge bot commented Feb 14, 2021

Webrevs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

1 participant