Skip to content

Conversation

okias
Copy link
Contributor

@okias okias commented Jul 17, 2024

correct output for direct_state_access.buffers_clear when failure occurs

For R8* formats, the data is interpreted as non-numeric, so it messes
with the log output. This change ensures the numbers are produced.

Current outcome for R8* formats failure:
The test of ClearNamedBufferData has failed for internalformat . Cleared buffer data is equal to [

After the fix:
The test of ClearNamedBufferData has failed for internalformat . Cleared buffer data is equal to [0], but [5] was expected.

Affects:
KHR-GL46.direct_state_access.buffers_clear

Change-Id: I9e9d771ba129464824df258d5a7066ac797b4c3a

For R8* formats, the data is interpreted as non-numeric, so it messes
with the log output. This change ensures the numbers are produced.

Current outcome for R8* formats failure:
The test of ClearNamedBufferData has failed for internalformat . Cleared buffer data is equal to [

After the fix:
The test of ClearNamedBufferData has failed for internalformat . Cleared buffer data is equal to [0], but [5] was expected.

Affects:
KHR-GL46.direct_state_access.buffers_clear

Change-Id: I9e9d771ba129464824df258d5a7066ac797b4c3a
Signed-off-by: David Heidelberg <[email protected]>
@okias okias force-pushed the 20240717-fix-fail-output branch from 20c9063 to bfc4857 Compare July 17, 2024 18:58
@okias okias marked this pull request as draft July 17, 2024 19:46
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants