KhronosGroup / KhronosGroup/WebGL

deqp/functional/gles3/es3fShaderDerivateTests.js read back with wrong format/type

Open
#1,452 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
2.9k
Forks
703
Avg merge
2d 9h
Merged PRs (30d)
4

Description

The c++ side of the deqp tests takes into consideration if the framebuffer's internalformat is RGBA_INTEGER, then readPixels should adjust the format/type accordingly.

However, the js version always uses RGBA/UNSIGNED_BYTE, which causes INVALID_OPERATION in readPixels.

Contributor guide

Open the contributing guide

Research direction

Start with deqp/functional/gles3/es3fShaderDerivateTests.js and inspect how its readPixels call selects format and type. Compare that behavior with the C++ deqp tests, especially for RGBA_INTEGER framebuffers. Done means the JavaScript test uses the matching format/type and no longer triggers INVALID_OPERATION in readPixels.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.