Bug 223355 - webgl/2.0.1/conformance2/textures/misc/tex-image-with-bad-args.html fails
Summary: webgl/2.0.1/conformance2/textures/misc/tex-image-with-bad-args.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
Depends on:
Blocks: webgl2conformance
  Show dependency treegraph
 
Reported: 2021-03-17 00:43 PDT by Kimmo Kinnunen
Modified: 2021-03-24 00:44 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-17 00:43:17 PDT
webgl/2.0.1/conformance2/textures/misc/tex-image-with-bad-args.html fails
Comment 1 Kimmo Kinnunen 2021-03-17 00:44:38 PDT
Tests texImage2D with invalid internalformat/format/type combinations

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

This includes a regression test for Chromium Issue 656889
PASS WebGL context exists
PASS getError was expected value: NO_ERROR : TexImage2D taking RGBA/RGBA/UNSIGNED_BYTE
PASS getError was expected value: INVALID_OPERATION : TexImage2D taking RGBA/RGBA/FLOAT
PASS getError was expected value: INVALID_OPERATION : TexImage2D taking RGBA/RGBA/HALF_FLOAT
PASS getError was expected value: INVALID_OPERATION : TexImage2D taking LUMINANCE/LUMINANCE/FLOAT
PASS getError was expected value: INVALID_OPERATION : TexImage2D taking LUMINANCE_ALPHA/LUMINANCE_ALPHA/HALF_FLOAT
FAIL getError expected: INVALID_VALUE. Was INVALID_OPERATION : TexImage2D taking 0x822a/RED/UNSIGNED_SHORT
PASS getError was one of: INVALID_VALUE or INVALID_OPERATION : TexImage2D taking RED/RED/UNSIGNED_SHORT
PASS successfullyParsed is true

TEST COMPLETE

https://www.khronos.org/registry/webgl/sdk/tests/conformance2/textures/misc/tex-image-with-bad-args.html?webglVersion=2&quiet=0&quick=1
Comment 2 Kimmo Kinnunen 2021-03-17 01:45:39 PDT
At least macOS 11.3, iMacPro1,1, Radeon Pro Vega 56
Comment 3 Radar WebKit Bug Importer 2021-03-24 00:44:13 PDT
<rdar://problem/75774431>