Bug 223320 - webgl/1.0.4/conformance/programs/program-handling.html fails
Summary: webgl/1.0.4/conformance/programs/program-handling.html fails
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 223339 (view as bug list)
Depends on:
Blocks: webgl2conformance
  Show dependency treegraph
 
Reported: 2021-03-16 23:36 PDT by Kimmo Kinnunen
Modified: 2021-04-26 09:22 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Kinnunen 2021-03-16 23:36:53 PDT
webgl/1.0.4/conformance/programs/program-handling.html fails
Comment 1 Kimmo Kinnunen 2021-03-17 00:27:47 PDT
*** Bug 223339 has been marked as a duplicate of this bug. ***
Comment 2 Kimmo Kinnunen 2021-03-17 01:20:14 PDT
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
Comment 3 Kimmo Kinnunen 2021-03-17 01:45:54 PDT
At least macOS 11.3, iMacPro1,1, Radeon Pro Vega 56
Comment 4 Radar WebKit Bug Importer 2021-04-26 09:22:52 PDT
<rdar://problem/77160559>