KhronosGroup / KhronosGroup/WebGL

texture-npot-video.html seems to produce invalid values for premultiplied alpha

Open
#2,761 3 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

[texture-npot-video.html](http://khronos.org/registry/webgl/sdk/tests/conformance/textures/misc/texture-npot-video.html) seems to produce invalid values for premultiplied alpha (color values exceed alpha values, e.g. (1, 1, 1, 0)).

I haven't looked at the test case itself, but it triggers a Chrome OS bug that seems to be caused by invalid color values: https://crbug.com/914204

Contributor guide

Open the contributing guide

Research direction

Start with texture-npot-video.html and inspect how it checks premultiplied alpha values. Reproduce the reported values, including (1, 1, 1, 0), and compare them with the test's expected results and the linked Chrome OS bug; done means the test no longer produces invalid color values.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
computer-graphics, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.