Bug 223259 - [ macOS ARM64 ] webgl/2.0.0/conformance2/textures/misc/tex-mipmap-levels.html is constantly text failing
Summary: [ macOS ARM64 ] webgl/2.0.0/conformance2/textures/misc/tex-mipmap-levels.html...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: webgl2conformance
  Show dependency treegraph
 
Reported: 2021-03-16 10:12 PDT by Robert Jenner
Modified: 2021-03-17 11:21 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Jenner 2021-03-16 10:12:54 PDT
webgl/2.0.0/conformance2/textures/misc/tex-mipmap-levels.html

is a constant text failure in macOS release and debug for wk1 and wk2 on Apple Silicon only.

HISTORY URL:
https://results.webkit.org/?suite=layout-tests&test=webgl%2F2.0.0%2Fconformance2%2Ftextures%2Fmisc%2Ftex-mipmap-levels.html&architecture=arm64

TEXT DIFF:
--- /Volumes/Data/worker/bigsur-release-applesilicon-tests-wk2/build/layout-test-results/webgl/2.0.0/conformance2/textures/misc/tex-mipmap-levels-expected.txt
+++ /Volumes/Data/worker/bigsur-release-applesilicon-tests-wk2/build/layout-test-results/webgl/2.0.0/conformance2/textures/misc/tex-mipmap-levels-actual.txt
@@ -1,4 +1,46 @@
 This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
 
 Test: ../../../resources/webgl_test_files/conformance2/textures/misc/tex-mipmap-levels.html
-[ PASS ] All tests passed
+
+[ 1: PASS ] getError was expected value: NO_ERROR : Should be no errors from setup.
+[ 2: PASS ] getError was expected value: NO_ERROR : fillTexture(8x8, level=2) should succeed
+[ 3: PASS ] getError was expected value: NO_ERROR : fillTexture(4x4, level=3) should succeed
+[ 4: PASS ] getError was expected value: NO_ERROR : fillTexture(2x2, level=4) should succeed
+[ 5: PASS ] getError was expected value: NO_ERROR : texParameter(TEXTURE_BASE_LEVEL) should succeed
+[ 6: PASS ] getError was expected value: NO_ERROR : texParameter(TEXTURE_MAX_LEVEL) should succeed
+[ 7: PASS ] getError was expected value: NO_ERROR : texParameter(TEXTURE_MAG_FILTER) should succeed
+[ 8: PASS ] getError was expected value: NO_ERROR : texParameter(TEXTURE_MIN_FILTER) should succeed
+[ 9: PASS ] getError was expected value: NO_ERROR : clearAndDrawQuad should succeed
+[ 10: PASS ] should draw with [0, 0, 255, 255]
+[ 11: PASS ] getError was expected value: NO_ERROR : generateMipmap should succeed
+[ 12: FAIL ] should draw with [255, 0, 0, 255] at (0, 0) expected: 255,0,0,255 was 0,0,0,0
+[ 13: PASS ] getError was expected value: NO_ERROR : fillTexture(8x8, level=2) should succeed
+[ 14: PASS ] getError was expected value: NO_ERROR : fillTexture(4x4, level=3) should succeed
+[ 15: PASS ] getError was expected value: NO_ERROR : texParameter(TEXTURE_BASE_LEVEL) should succeed
+[ 16: PASS ] getError was expected value: NO_ERROR : texParameter(TEXTURE_MAX_LEVEL) should succeed
+[ 17: PASS ] getError was expected value: NO_ERROR : clearAndDrawQuad should succeed
+[ 18: PASS ] incomplete texture should draw with [0, 0, 0, 255]
+[ 19: PASS ] getError was expected value: NO_ERROR : fillTexture(8x8, level=2) should succeed
+[ 20: PASS ] getError was expected value: NO_ERROR : fillTexture(4x4, level=3) should succeed
+[ 21: PASS ] getError was expected value: NO_ERROR : fillTexture(2x2, level=4) should succeed
+[ 22: PASS ] getError was expected value: NO_ERROR : texParameter(TEXTURE_BASE_LEVEL) should succeed
+[ 23: PASS ] getError was expected value: INVALID_OPERATION : generateMipmap should fail if base level texture is not specified
+[ 24: PASS ] getError was expected value: NO_ERROR : generateMipmap should succeed
+[ 25: PASS ] getError was expected value: NO_ERROR : generateMipmap should succeed
+[ 26: PASS ] getError was expected value: NO_ERROR : texSubImage3D should succeed
+[ 27: PASS ] getError was expected value: NO_ERROR : generateMipmap should succeed
+[ 28: PASS ] getError was expected value: NO_ERROR : texSubImage3D should succeed
+[ 29: PASS ] getError was one of: NO_ERROR or INVALID_OPERATION : generateMipmap should fail for zero-size texture
+[ 30: PASS ] getError was expected value: NO_ERROR : generateMipmap should succeed
+[ 31: PASS ] getError was expected value: INVALID_OPERATION : generateMipmap should fail for non-texture-filterable format
+[ 32: PASS ] getError was expected value: INVALID_OPERATION : generateMipmap should fail for float texture
+[ 33: PASS ] getError was one of: NO_ERROR or INVALID_OPERATION : generateMipmap should fail for zero-size texture
+[ 34: PASS ] getError was expected value: NO_ERROR : generateMipmap should succeed
+[ 35: PASS ] getError was expected value: NO_ERROR : texParameter(TEXTURE_MAG_FILTER) should succeed
+[ 36: PASS ] getError was expected value: NO_ERROR : texParameter(TEXTURE_MIN_FILTER) should succeed
+[ 37: PASS ] getError was expected value: NO_ERROR : texParameter(TEXTURE_BASE_LEVEL) should succeed
+[ 38: PASS ] getError was expected value: NO_ERROR : texStorage2D should succeed
+[ 39: PASS ] getError was expected value: NO_ERROR : clearAndDrawQuad should succeed
+[ 40: PASS ] should draw with [255, 0, 0, 255]
+[ 41: PASS ] successfullyParsed is true
+[ FAIL ] 1 failures reported
Comment 1 Radar WebKit Bug Importer 2021-03-16 10:13:11 PDT
<rdar://problem/75482124>
Comment 2 Robert Jenner 2021-03-16 10:23:22 PDT
Updated expectations for the test here, while it is being reviewed:
https://trac.webkit.org/changeset/274488/webkit
Comment 3 Robert Jenner 2021-03-16 10:25:02 PDT
Failures only occur on Apple Silicon, and as such I cannot reproduce the failure because I do not have access to an Apple Silicon Mac.