Bug 223320
Summary: | webgl/1.0.4/conformance/programs/program-handling.html fails | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> |
Component: | WebGL | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | dino, kbr, kkinnunen, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 222812 |
Kimmo Kinnunen
webgl/1.0.4/conformance/programs/program-handling.html fails
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Kimmo Kinnunen
*** Bug 223339 has been marked as a duplicate of this bug. ***
Kimmo Kinnunen
https://www.khronos.org/registry/webgl/sdk/tests/conformance/programs/program-handling.html?webglVersion=1&quiet=0&quick=1
Canvas.getContext
Draw red with valid program
PASS should be red
Change fragment shader to one that will not link
Draw orange
PASS should be orange
Try linking
PASS link should fail
Draw green to show even though link failed old program is still valid
FAIL should be green
at (0, 0) expected: 0,255,0,255 was 255,127,0,255
Detach and delete shaders
Draw blue to show even though shaders are gone program is still valid
FAIL should be blue
at (0, 0) expected: 0,0,255,255 was 255,127,0,255
Call useProgram to show old program can not be made current again
PASS getError was expected value: INVALID_OPERATION : should be invalid
Draw purple to show the original program is still usable
FAIL should be purple
at (0, 0) expected: 255,0,255,255 was 255,127,0,255
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : should be no errors
PASS successfullyParsed is true
TEST COMPLETE
Kimmo Kinnunen
At least macOS 11.3, iMacPro1,1, Radeon Pro Vega 56
Radar WebKit Bug Importer
<rdar://problem/77160559>