Skip to content

ANGLE: Metal BufferDataTestES3.GLDriverErrorWhenMappingArrayBuffersDuringDraw fails validation#63120

Merged
webkit-commit-queue merged 1 commit into
WebKit:mainfrom
kkinnunen-apple:angle-GLDriverErrorWhenMappingArrayBuffersDuringDraw
Apr 21, 2026
Merged

ANGLE: Metal BufferDataTestES3.GLDriverErrorWhenMappingArrayBuffersDuringDraw fails validation#63120
webkit-commit-queue merged 1 commit into
WebKit:mainfrom
kkinnunen-apple:angle-GLDriverErrorWhenMappingArrayBuffersDuringDraw

Conversation

@kkinnunen-apple
Copy link
Copy Markdown
Contributor

@kkinnunen-apple kkinnunen-apple commented Apr 20, 2026

@kkinnunen-apple kkinnunen-apple self-assigned this Apr 20, 2026
@kkinnunen-apple kkinnunen-apple added the ANGLE Bugs related to the ANGLE project label Apr 20, 2026
Copy link
Copy Markdown
Contributor

@djg djg left a comment

Choose a reason for hiding this comment

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

:shipit:

@@ -1048,7 +1048,7 @@ TEST_P(BufferDataTestES3, GLDriverErrorWhenMappingArrayBuffersDuringDraw)

GLBuffer vb;
glBindBuffer(GL_ARRAY_BUFFER, vb);
glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * quadVertices.size(), quadVertices.data(),
glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * quadVertices.size() * 3, quadVertices.data(),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How about

glBufferData(GL_ARRAY_BUFFER, sizeof(quadVertices), quadVertices.data(), GL_STATIC_DRAW);

@kkinnunen-apple kkinnunen-apple added the merge-queue Applied to send a pull request to merge-queue label Apr 21, 2026
…ringDraw fails validation

https://bugs.webkit.org/show_bug.cgi?id=312773
rdar://175158716

Reviewed by Dan Glastonbury.

The test computed the vertex buffer size incorrectly.

* Source/ThirdParty/ANGLE/src/tests/gl_tests/BufferDataTest.cpp:

Canonical link: https://commits.webkit.org/311650@main
@webkit-commit-queue webkit-commit-queue force-pushed the angle-GLDriverErrorWhenMappingArrayBuffersDuringDraw branch from 67d447e to cda121a Compare April 21, 2026 06:08
@webkit-commit-queue
Copy link
Copy Markdown
Collaborator

Committed 311650@main (cda121a): https://commits.webkit.org/311650@main

Reviewed commits have been landed. Closing PR #63120 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit cda121a into WebKit:main Apr 21, 2026
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ANGLE Bugs related to the ANGLE project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants