KhronosGroup / KhronosGroup/WebGL
Expand conformance/textures/misc/gl-teximage.html with more alpha=0 cases
- Dominant language
- HTML
- Stars
- 2.9k
- Forks
- 703
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
conformance/textures/misc/gl-teximage.html already contains a test uploading a PNG with a zero alpha channel into an RGB texture, and ensuring the alpha channel was not premultiplied into the color channels.
Per comments on #2451 , this test should be expanded to verify uploading into RGBA, RGBA_4444, and RGBA_5551 textures, and ensure that the alpha channel is in fact zero for all of these formats (as well as the colors being preserved as well as possible for the texture format).
Contributor guide
Research direction
Start in conformance/textures/misc/gl-teximage.html, where the existing PNG alpha=0 RGB-texture test is defined. Extend the test coverage to RGBA, RGBA_4444, and RGBA_5551 uploads, verifying zero alpha and preservation of color values as well as each format allows; done means all requested cases are checked.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- testing, web-dev
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100