Integrated: 8261705: Swing jtreg tests fail Metal API Validation with missing buffer binding

Jayathirth D V jdv at openjdk.java.net
Sun Feb 14 18:54:19 UTC 2021


On Sun, 14 Feb 2021 18:48:40 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

> We are hitting MTLRenderer_DrawScanLine with scanlineCount=0. So we end up calling drawPrimitives without actual vertex data. This is causing error when Metal API Validation is enabled. In OpenGL we have null checks for scanline data as well as scanlinecount. We need similar check in case of Metal.

This pull request has now been integrated.

Changeset: 2a30ee5a
Author:    Jayathirth D V <jdv at openjdk.org>
URL:       https://git.openjdk.java.net/lanai/commit/2a30ee5a
Stats:     9 lines in 1 file changed: 5 ins; 4 del; 0 mod

8261705: Swing jtreg tests fail Metal API Validation with missing buffer binding

-------------

PR: https://git.openjdk.java.net/lanai/pull/191


More information about the lanai-dev mailing list