Changeset 275088 in webkit


Ignore:
Timestamp:
Mar 26, 2021 3:28:55 AM (3 years ago)
Author:
dino@apple.com
Message:

Enable Metal ANGLE backend for WebGL
https://bugs.webkit.org/show_bug.cgi?id=220076
<rdar://problem/72565020>

Reviewed by Sam Weinig.

Source/WTF:

Turn the Metal backend for ANGLE on, moving the feature
from Internal to Experimental.

  • Scripts/Preferences/WebPreferencesExperimental.yaml:
  • Scripts/Preferences/WebPreferencesInternal.yaml:

LayoutTests:

Updated results for WebGL 2 content with the Metal ANGLE
backend. See https://bugs.webkit.org/show_bug.cgi?id=222239

  • platform/mac/TestExpectations:
  • platform/ios-simulator-wk2/TestExpectations:
  • platform/ios-simulator/TestExpectations:
  • platform/ios-wk2/TestExpectations:
  • platform/ios/TestExpectations:
  • platform/mac/TestExpectations:
  • platform/wk2/TestExpectations:
Location:
trunk
Files:
1 deleted
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r275087 r275088  
     12021-03-26  Dean Jackson  <dino@apple.com>
     2
     3        Enable Metal ANGLE backend for WebGL
     4        https://bugs.webkit.org/show_bug.cgi?id=220076
     5        <rdar://problem/72565020>
     6
     7        Reviewed by Sam Weinig.
     8
     9        Updated results for WebGL 2 content with the Metal ANGLE
     10        backend. See https://bugs.webkit.org/show_bug.cgi?id=222239
     11
     12        * platform/mac/TestExpectations:
     13        * platform/ios-simulator-wk2/TestExpectations:
     14        * platform/ios-simulator/TestExpectations:
     15        * platform/ios-wk2/TestExpectations:
     16        * platform/ios/TestExpectations:
     17        * platform/mac/TestExpectations:
     18        * platform/wk2/TestExpectations:
     19
    1202021-03-26  Rob Buis  <rbuis@igalia.com>
    221
  • trunk/LayoutTests/TestExpectations

    r275055 r275088  
    33943394webgl/1.0.3/conformance/glsl/misc/struct-unary-operators.html [ Skip ]
    33953395webgl/1.0.3/conformance/uniforms/gl-uniform-arrays.html [ Skip ]
     3396webgl/2.0.0/conformance/glsl/bugs/complex-glsl-does-not-crash.html [ Skip ]
     3397webgl/2.0.0/conformance2/rendering/blitframebuffer-filter-outofbounds.html [ Skip ]
    33963398
    33973399# webkit.org/b/203908 Tests generate inconsistent results or time out
  • trunk/LayoutTests/fast/canvas/webgl/webgl-compressed-texture-astc-expected.txt

    r274948 r275088  
    88PASS supportedFormats is []
    99
    10 PASS No WEBGL_compressed_texture_astc support -- this is legal
    11 PASS WEBGL_compressed_texture_astc not listed as supported and getExtension failed -- this is legal
     10PASS Successfully enabled WEBGL_compressed_texture_astc extension
     11
     12PASS WEBGL_compressed_texture_astc listed as supported and getExtension succeeded
     13
     14Testing WEBGL_compressed_texture_astc
     15PASS supportedFormats.length is 28
     16
     17Testing every supported formats exist
     18PASS supported format COMPRESSED_RGBA_ASTC_4x4_KHR exists
     19PASS supported format COMPRESSED_RGBA_ASTC_5x4_KHR exists
     20PASS supported format COMPRESSED_RGBA_ASTC_5x5_KHR exists
     21PASS supported format COMPRESSED_RGBA_ASTC_6x5_KHR exists
     22PASS supported format COMPRESSED_RGBA_ASTC_6x6_KHR exists
     23PASS supported format COMPRESSED_RGBA_ASTC_8x5_KHR exists
     24PASS supported format COMPRESSED_RGBA_ASTC_8x6_KHR exists
     25PASS supported format COMPRESSED_RGBA_ASTC_8x8_KHR exists
     26PASS supported format COMPRESSED_RGBA_ASTC_10x5_KHR exists
     27PASS supported format COMPRESSED_RGBA_ASTC_10x6_KHR exists
     28PASS supported format COMPRESSED_RGBA_ASTC_10x8_KHR exists
     29PASS supported format COMPRESSED_RGBA_ASTC_10x10_KHR exists
     30PASS supported format COMPRESSED_RGBA_ASTC_12x10_KHR exists
     31PASS supported format COMPRESSED_RGBA_ASTC_12x12_KHR exists
     32PASS supported format COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR exists
     33PASS supported format COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR exists
     34PASS supported format COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR exists
     35PASS supported format COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR exists
     36PASS supported format COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR exists
     37PASS supported format COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR exists
     38PASS supported format COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR exists
     39PASS supported format COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR exists
     40PASS supported format COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR exists
     41PASS supported format COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR exists
     42PASS supported format COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR exists
     43PASS supported format COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR exists
     44PASS supported format COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR exists
     45PASS supported format COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR exists
     46
     47Testing every supported formats is valid
     48PASS ext['COMPRESSED_RGBA_ASTC_4x4_KHR'] is 0x93b0
     49PASS ext['COMPRESSED_RGBA_ASTC_5x4_KHR'] is 0x93b1
     50PASS ext['COMPRESSED_RGBA_ASTC_5x5_KHR'] is 0x93b2
     51PASS ext['COMPRESSED_RGBA_ASTC_6x5_KHR'] is 0x93b3
     52PASS ext['COMPRESSED_RGBA_ASTC_6x6_KHR'] is 0x93b4
     53PASS ext['COMPRESSED_RGBA_ASTC_8x5_KHR'] is 0x93b5
     54PASS ext['COMPRESSED_RGBA_ASTC_8x6_KHR'] is 0x93b6
     55PASS ext['COMPRESSED_RGBA_ASTC_8x8_KHR'] is 0x93b7
     56PASS ext['COMPRESSED_RGBA_ASTC_10x5_KHR'] is 0x93b8
     57PASS ext['COMPRESSED_RGBA_ASTC_10x6_KHR'] is 0x93b9
     58PASS ext['COMPRESSED_RGBA_ASTC_10x8_KHR'] is 0x93ba
     59PASS ext['COMPRESSED_RGBA_ASTC_10x10_KHR'] is 0x93bb
     60PASS ext['COMPRESSED_RGBA_ASTC_12x10_KHR'] is 0x93bc
     61PASS ext['COMPRESSED_RGBA_ASTC_12x12_KHR'] is 0x93bd
     62PASS ext['COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR'] is 0x93d0
     63PASS ext['COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR'] is 0x93d1
     64PASS ext['COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR'] is 0x93d2
     65PASS ext['COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR'] is 0x93d3
     66PASS ext['COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR'] is 0x93d4
     67PASS ext['COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR'] is 0x93d5
     68PASS ext['COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR'] is 0x93d6
     69PASS ext['COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR'] is 0x93d7
     70PASS ext['COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR'] is 0x93d8
     71PASS ext['COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR'] is 0x93d9
     72PASS ext['COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR'] is 0x93da
     73PASS ext['COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR'] is 0x93db
     74PASS ext['COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR'] is 0x93dc
     75PASS ext['COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR'] is 0x93dd
     76
     77Testing format restrictions on buffer size
     78PASS getError was expected value: INVALID_VALUE : COMPRESSED_RGBA_ASTC_4x4_KHR expected size: 256
     79PASS getError was expected value: INVALID_VALUE : COMPRESSED_RGBA_ASTC_5x4_KHR expected size: 256
     80PASS getError was expected value: INVALID_VALUE : COMPRESSED_RGBA_ASTC_5x5_KHR expected size: 256
     81PASS getError was expected value: INVALID_VALUE : COMPRESSED_RGBA_ASTC_6x5_KHR expected size: 192
     82PASS getError was expected value: INVALID_VALUE : COMPRESSED_RGBA_ASTC_6x6_KHR expected size: 144
     83PASS getError was expected value: INVALID_VALUE : COMPRESSED_RGBA_ASTC_8x5_KHR expected size: 128
     84PASS getError was expected value: INVALID_VALUE : COMPRESSED_RGBA_ASTC_8x6_KHR expected size: 96
     85PASS getError was expected value: INVALID_VALUE : COMPRESSED_RGBA_ASTC_8x8_KHR expected size: 64
     86PASS getError was expected value: INVALID_VALUE : COMPRESSED_RGBA_ASTC_10x5_KHR expected size: 128
     87PASS getError was expected value: INVALID_VALUE : COMPRESSED_RGBA_ASTC_10x6_KHR expected size: 96
     88PASS getError was expected value: INVALID_VALUE : COMPRESSED_RGBA_ASTC_10x8_KHR expected size: 64
     89PASS getError was expected value: INVALID_VALUE : COMPRESSED_RGBA_ASTC_10x10_KHR expected size: 64
     90PASS getError was expected value: INVALID_VALUE : COMPRESSED_RGBA_ASTC_12x10_KHR expected size: 64
     91PASS getError was expected value: INVALID_VALUE : COMPRESSED_RGBA_ASTC_12x12_KHR expected size: 64
     92PASS getError was expected value: INVALID_VALUE : COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR expected size: 64
     93PASS getError was expected value: INVALID_VALUE : COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR expected size: 64
     94PASS getError was expected value: INVALID_VALUE : COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR expected size: 64
     95PASS getError was expected value: INVALID_VALUE : COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR expected size: 64
     96PASS getError was expected value: INVALID_VALUE : COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR expected size: 64
     97PASS getError was expected value: INVALID_VALUE : COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR expected size: 64
     98PASS getError was expected value: INVALID_VALUE : COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR expected size: 64
     99PASS getError was expected value: INVALID_VALUE : COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR expected size: 64
     100PASS getError was expected value: INVALID_VALUE : COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR expected size: 64
     101PASS getError was expected value: INVALID_VALUE : COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR expected size: 64
     102PASS getError was expected value: INVALID_VALUE : COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR expected size: 64
     103PASS getError was expected value: INVALID_VALUE : COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR expected size: 64
     104PASS getError was expected value: INVALID_VALUE : COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR expected size: 64
     105PASS getError was expected value: INVALID_VALUE : COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR expected size: 64
     106
     107Testing every LDR texture format compression
     108
     109
     110testing COMPRESSED_RGBA_ASTC_4x4_KHR 16x16 (LDR) via compressedTexImage2D
     111
     112PASS getError was expected value: NO_ERROR : uploading compressed texture
     113
     114expected
     115
     116actual
     117
     118PASS texture rendered correctly with NEAREST filtering
     119
     120expected
     121
     122actual
     123
     124PASS texture rendered correctly with LINEAR filtering
     125
     126PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     127PASS getError was expected value: INVALID_VALUE : non 0 border
     128
     129PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     130
     131testing COMPRESSED_RGBA_ASTC_5x4_KHR 16x16 (LDR) via compressedTexImage2D
     132
     133PASS getError was expected value: NO_ERROR : uploading compressed texture
     134
     135expected
     136
     137actual
     138
     139PASS texture rendered correctly with NEAREST filtering
     140
     141expected
     142
     143actual
     144
     145PASS texture rendered correctly with LINEAR filtering
     146
     147PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     148PASS getError was expected value: INVALID_VALUE : non 0 border
     149
     150PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     151
     152testing COMPRESSED_RGBA_ASTC_5x5_KHR 16x16 (LDR) via compressedTexImage2D
     153
     154PASS getError was expected value: NO_ERROR : uploading compressed texture
     155
     156expected
     157
     158actual
     159
     160PASS texture rendered correctly with NEAREST filtering
     161
     162expected
     163
     164actual
     165
     166PASS texture rendered correctly with LINEAR filtering
     167
     168PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     169PASS getError was expected value: INVALID_VALUE : non 0 border
     170
     171PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     172
     173testing COMPRESSED_RGBA_ASTC_6x5_KHR 16x16 (LDR) via compressedTexImage2D
     174
     175PASS getError was expected value: NO_ERROR : uploading compressed texture
     176
     177expected
     178
     179actual
     180
     181PASS texture rendered correctly with NEAREST filtering
     182
     183expected
     184
     185actual
     186
     187PASS texture rendered correctly with LINEAR filtering
     188
     189PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     190PASS getError was expected value: INVALID_VALUE : non 0 border
     191
     192PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     193
     194testing COMPRESSED_RGBA_ASTC_6x6_KHR 16x16 (LDR) via compressedTexImage2D
     195
     196PASS getError was expected value: NO_ERROR : uploading compressed texture
     197
     198expected
     199
     200actual
     201
     202PASS texture rendered correctly with NEAREST filtering
     203
     204expected
     205
     206actual
     207
     208PASS texture rendered correctly with LINEAR filtering
     209
     210PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     211PASS getError was expected value: INVALID_VALUE : non 0 border
     212
     213PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     214
     215testing COMPRESSED_RGBA_ASTC_8x5_KHR 16x16 (LDR) via compressedTexImage2D
     216
     217PASS getError was expected value: NO_ERROR : uploading compressed texture
     218
     219expected
     220
     221actual
     222
     223PASS texture rendered correctly with NEAREST filtering
     224
     225expected
     226
     227actual
     228
     229PASS texture rendered correctly with LINEAR filtering
     230
     231PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     232PASS getError was expected value: INVALID_VALUE : non 0 border
     233
     234PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     235
     236testing COMPRESSED_RGBA_ASTC_8x6_KHR 16x16 (LDR) via compressedTexImage2D
     237
     238PASS getError was expected value: NO_ERROR : uploading compressed texture
     239
     240expected
     241
     242actual
     243
     244PASS texture rendered correctly with NEAREST filtering
     245
     246expected
     247
     248actual
     249
     250PASS texture rendered correctly with LINEAR filtering
     251
     252PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     253PASS getError was expected value: INVALID_VALUE : non 0 border
     254
     255PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     256
     257testing COMPRESSED_RGBA_ASTC_8x8_KHR 16x16 (LDR) via compressedTexImage2D
     258
     259PASS getError was expected value: NO_ERROR : uploading compressed texture
     260
     261expected
     262
     263actual
     264
     265PASS texture rendered correctly with NEAREST filtering
     266
     267expected
     268
     269actual
     270
     271PASS texture rendered correctly with LINEAR filtering
     272
     273PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     274PASS getError was expected value: INVALID_VALUE : non 0 border
     275
     276PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     277
     278testing COMPRESSED_RGBA_ASTC_10x5_KHR 16x16 (LDR) via compressedTexImage2D
     279
     280PASS getError was expected value: NO_ERROR : uploading compressed texture
     281
     282expected
     283
     284actual
     285
     286PASS texture rendered correctly with NEAREST filtering
     287
     288expected
     289
     290actual
     291
     292PASS texture rendered correctly with LINEAR filtering
     293
     294PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     295PASS getError was expected value: INVALID_VALUE : non 0 border
     296
     297PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     298
     299testing COMPRESSED_RGBA_ASTC_10x6_KHR 16x16 (LDR) via compressedTexImage2D
     300
     301PASS getError was expected value: NO_ERROR : uploading compressed texture
     302
     303expected
     304
     305actual
     306
     307PASS texture rendered correctly with NEAREST filtering
     308
     309expected
     310
     311actual
     312
     313PASS texture rendered correctly with LINEAR filtering
     314
     315PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     316PASS getError was expected value: INVALID_VALUE : non 0 border
     317
     318PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     319
     320testing COMPRESSED_RGBA_ASTC_10x8_KHR 16x16 (LDR) via compressedTexImage2D
     321
     322PASS getError was expected value: NO_ERROR : uploading compressed texture
     323
     324expected
     325
     326actual
     327
     328PASS texture rendered correctly with NEAREST filtering
     329
     330expected
     331
     332actual
     333
     334PASS texture rendered correctly with LINEAR filtering
     335
     336PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     337PASS getError was expected value: INVALID_VALUE : non 0 border
     338
     339PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     340
     341testing COMPRESSED_RGBA_ASTC_10x10_KHR 16x16 (LDR) via compressedTexImage2D
     342
     343PASS getError was expected value: NO_ERROR : uploading compressed texture
     344
     345expected
     346
     347actual
     348
     349PASS texture rendered correctly with NEAREST filtering
     350
     351expected
     352
     353actual
     354
     355PASS texture rendered correctly with LINEAR filtering
     356
     357PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     358PASS getError was expected value: INVALID_VALUE : non 0 border
     359
     360PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     361
     362testing COMPRESSED_RGBA_ASTC_12x10_KHR 16x16 (LDR) via compressedTexImage2D
     363
     364PASS getError was expected value: NO_ERROR : uploading compressed texture
     365
     366expected
     367
     368actual
     369
     370PASS texture rendered correctly with NEAREST filtering
     371
     372expected
     373
     374actual
     375
     376PASS texture rendered correctly with LINEAR filtering
     377
     378PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     379PASS getError was expected value: INVALID_VALUE : non 0 border
     380
     381PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     382
     383testing COMPRESSED_RGBA_ASTC_12x12_KHR 16x16 (LDR) via compressedTexImage2D
     384
     385PASS getError was expected value: NO_ERROR : uploading compressed texture
     386
     387expected
     388
     389actual
     390
     391PASS texture rendered correctly with NEAREST filtering
     392
     393expected
     394
     395actual
     396
     397PASS texture rendered correctly with LINEAR filtering
     398
     399PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     400PASS getError was expected value: INVALID_VALUE : non 0 border
     401
     402PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     403
     404Testing every HDR texture format compression
     405
     406
     407testing COMPRESSED_RGBA_ASTC_4x4_KHR 16x16 (HDR) via compressedTexImage2D
     408
     409PASS getError was expected value: NO_ERROR : uploading compressed texture
     410
     411expected
     412
     413actual
     414
     415PASS texture rendered correctly with NEAREST filtering
     416
     417expected
     418
     419actual
     420
     421PASS texture rendered correctly with LINEAR filtering
     422
     423PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     424PASS getError was expected value: INVALID_VALUE : non 0 border
     425
     426PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     427
     428testing COMPRESSED_RGBA_ASTC_5x4_KHR 16x16 (HDR) via compressedTexImage2D
     429
     430PASS getError was expected value: NO_ERROR : uploading compressed texture
     431
     432expected
     433
     434actual
     435
     436PASS texture rendered correctly with NEAREST filtering
     437
     438expected
     439
     440actual
     441
     442PASS texture rendered correctly with LINEAR filtering
     443
     444PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     445PASS getError was expected value: INVALID_VALUE : non 0 border
     446
     447PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     448
     449testing COMPRESSED_RGBA_ASTC_5x5_KHR 16x16 (HDR) via compressedTexImage2D
     450
     451PASS getError was expected value: NO_ERROR : uploading compressed texture
     452
     453expected
     454
     455actual
     456
     457PASS texture rendered correctly with NEAREST filtering
     458
     459expected
     460
     461actual
     462
     463PASS texture rendered correctly with LINEAR filtering
     464
     465PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     466PASS getError was expected value: INVALID_VALUE : non 0 border
     467
     468PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     469
     470testing COMPRESSED_RGBA_ASTC_6x5_KHR 16x16 (HDR) via compressedTexImage2D
     471
     472PASS getError was expected value: NO_ERROR : uploading compressed texture
     473
     474expected
     475
     476actual
     477
     478PASS texture rendered correctly with NEAREST filtering
     479
     480expected
     481
     482actual
     483
     484PASS texture rendered correctly with LINEAR filtering
     485
     486PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     487PASS getError was expected value: INVALID_VALUE : non 0 border
     488
     489PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     490
     491testing COMPRESSED_RGBA_ASTC_6x6_KHR 16x16 (HDR) via compressedTexImage2D
     492
     493PASS getError was expected value: NO_ERROR : uploading compressed texture
     494
     495expected
     496
     497actual
     498
     499PASS texture rendered correctly with NEAREST filtering
     500
     501expected
     502
     503actual
     504
     505PASS texture rendered correctly with LINEAR filtering
     506
     507PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     508PASS getError was expected value: INVALID_VALUE : non 0 border
     509
     510PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     511
     512testing COMPRESSED_RGBA_ASTC_8x5_KHR 16x16 (HDR) via compressedTexImage2D
     513
     514PASS getError was expected value: NO_ERROR : uploading compressed texture
     515
     516expected
     517
     518actual
     519
     520PASS texture rendered correctly with NEAREST filtering
     521
     522expected
     523
     524actual
     525
     526PASS texture rendered correctly with LINEAR filtering
     527
     528PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     529PASS getError was expected value: INVALID_VALUE : non 0 border
     530
     531PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     532
     533testing COMPRESSED_RGBA_ASTC_8x6_KHR 16x16 (HDR) via compressedTexImage2D
     534
     535PASS getError was expected value: NO_ERROR : uploading compressed texture
     536
     537expected
     538
     539actual
     540
     541PASS texture rendered correctly with NEAREST filtering
     542
     543expected
     544
     545actual
     546
     547PASS texture rendered correctly with LINEAR filtering
     548
     549PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     550PASS getError was expected value: INVALID_VALUE : non 0 border
     551
     552PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     553
     554testing COMPRESSED_RGBA_ASTC_8x8_KHR 16x16 (HDR) via compressedTexImage2D
     555
     556PASS getError was expected value: NO_ERROR : uploading compressed texture
     557
     558expected
     559
     560actual
     561
     562PASS texture rendered correctly with NEAREST filtering
     563
     564expected
     565
     566actual
     567
     568PASS texture rendered correctly with LINEAR filtering
     569
     570PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     571PASS getError was expected value: INVALID_VALUE : non 0 border
     572
     573PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     574
     575testing COMPRESSED_RGBA_ASTC_10x5_KHR 16x16 (HDR) via compressedTexImage2D
     576
     577PASS getError was expected value: NO_ERROR : uploading compressed texture
     578
     579expected
     580
     581actual
     582
     583PASS texture rendered correctly with NEAREST filtering
     584
     585expected
     586
     587actual
     588
     589PASS texture rendered correctly with LINEAR filtering
     590
     591PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     592PASS getError was expected value: INVALID_VALUE : non 0 border
     593
     594PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     595
     596testing COMPRESSED_RGBA_ASTC_10x6_KHR 16x16 (HDR) via compressedTexImage2D
     597
     598PASS getError was expected value: NO_ERROR : uploading compressed texture
     599
     600expected
     601
     602actual
     603
     604PASS texture rendered correctly with NEAREST filtering
     605
     606expected
     607
     608actual
     609
     610PASS texture rendered correctly with LINEAR filtering
     611
     612PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     613PASS getError was expected value: INVALID_VALUE : non 0 border
     614
     615PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     616
     617testing COMPRESSED_RGBA_ASTC_10x8_KHR 16x16 (HDR) via compressedTexImage2D
     618
     619PASS getError was expected value: NO_ERROR : uploading compressed texture
     620
     621expected
     622
     623actual
     624
     625PASS texture rendered correctly with NEAREST filtering
     626
     627expected
     628
     629actual
     630
     631PASS texture rendered correctly with LINEAR filtering
     632
     633PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     634PASS getError was expected value: INVALID_VALUE : non 0 border
     635
     636PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     637
     638testing COMPRESSED_RGBA_ASTC_10x10_KHR 16x16 (HDR) via compressedTexImage2D
     639
     640PASS getError was expected value: NO_ERROR : uploading compressed texture
     641
     642expected
     643
     644actual
     645
     646PASS texture rendered correctly with NEAREST filtering
     647
     648expected
     649
     650actual
     651
     652PASS texture rendered correctly with LINEAR filtering
     653
     654PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     655PASS getError was expected value: INVALID_VALUE : non 0 border
     656
     657PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     658
     659testing COMPRESSED_RGBA_ASTC_12x10_KHR 16x16 (HDR) via compressedTexImage2D
     660
     661PASS getError was expected value: NO_ERROR : uploading compressed texture
     662
     663expected
     664
     665actual
     666
     667PASS texture rendered correctly with NEAREST filtering
     668
     669expected
     670
     671actual
     672
     673PASS texture rendered correctly with LINEAR filtering
     674
     675PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     676PASS getError was expected value: INVALID_VALUE : non 0 border
     677
     678PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
     679
     680testing COMPRESSED_RGBA_ASTC_12x12_KHR 16x16 (HDR) via compressedTexImage2D
     681
     682PASS getError was expected value: NO_ERROR : uploading compressed texture
     683
     684expected
     685
     686actual
     687
     688PASS texture rendered correctly with NEAREST filtering
     689
     690expected
     691
     692actual
     693
     694PASS texture rendered correctly with LINEAR filtering
     695
     696PASS getError was expected value: INVALID_OPERATION : trying to generate mipmaps from compressed texture
     697PASS getError was expected value: INVALID_VALUE : non 0 border
     698
     699PASS getError was expected value: NO_ERROR : compressedTexSubImage2D allowed for reloading of complete textures
    12700
    13701PASS successfullyParsed is true
  • trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations

    r274948 r275088  
    158158webkit.org/b/217268 imported/w3c/web-platform-tests/mathml/relations/html5-tree/dynamic-childlist-001.html [ Failure ]
    159159
    160 webkit.org/b/209139 fast/canvas/webgl/webgl-clear-composited-notshowing.html [ Failure ]
     160webkit.org/b/222808 imported/w3c/web-platform-tests/webrtc/protocol/candidate-exchange.https.html [ Pass Failure ]
    161161
    162 webkit.org/b/222808 imported/w3c/web-platform-tests/webrtc/protocol/candidate-exchange.https.html [ Pass Failure ]
     162# webkit.org/b/209139 fast/canvas/webgl/webgl-clear-composited-notshowing.html [ Failure ]
  • trunk/LayoutTests/platform/ios-simulator/TestExpectations

    r275001 r275088  
    4747imported/w3c/web-platform-tests/density-size-correction/density-corrected-various-elements.html [ ImageOnlyFailure ]
    4848
    49 # WebGL tests which need triaging https://bugs.webkit.org/b/174100
     49# # WebGL tests which need triaging https://bugs.webkit.org/b/174100
    5050webgl/1.0.3/conformance/uniforms/uniform-default-values.html [ Failure ]
    5151
     
    110110webkit.org/b/201509 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-video-element/video_timeupdate_on_seek.html [ Failure ]
    111111
     112# ANGLE Metal backend failing tests with shared texture memory on the simulator
     113webkit.org/b/222685 webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-array-buffer-view.html [ Pass Failure ]
     114webkit.org/b/222685 webgl/1.0.3/conformance/textures/texture-mips.html [ Pass Failure ]
     115
    112116# WebGPU is not enabled on iOS Simulator.
    113117webgpu [ Skip ]
  • trunk/LayoutTests/platform/ios-wk2/TestExpectations

    r275051 r275088  
    18711871webkit.org/b/186045 imported/w3c/web-platform-tests/css/css-values/vh_not_refreshing_on_chrome.html [ Skip ]
    18721872
    1873 webkit.org/b/217257 webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-video.html [ Failure ]
    1874 
    18751873webkit.org/b/217258 svg/W3C-I18N/tspan-direction-rtl.svg [ Failure ]
    18761874
  • trunk/LayoutTests/platform/ios/TestExpectations

    r274962 r275088  
    21762176imported/blink/animations/base-render-style-font-selector-version-assert.html [ Pass Timeout ]
    21772177imported/blink/compositing/draws-content/canvas-simple-background.html [ ImageOnlyFailure Pass ]
    2178 imported/blink/compositing/draws-content/webgl-simple-background.html [ ImageOnlyFailure Pass ]
     2178# imported/blink/compositing/draws-content/webgl-simple-background.html [ ImageOnlyFailure Pass ]
    21792179imported/blink/compositing/layer-creation/iframe-clip-removed.html [ Pass Timeout ]
    21802180imported/blink/compositing/overflow/body-switch-composited-scrolling.html [ ImageOnlyFailure Pass ]
     
    26142614
    26152615# WebGL tests which need triaging https://bugs.webkit.org/b/174100
    2616 fast/canvas/webgl/tex-image-and-sub-image-2d-with-potentially-subsampled-image.html [ Failure ]
    26172616fast/canvas/webgl/webgl-compressed-texture-size-limit.html [ Failure ]
    26182617fast/canvas/webgl/webgl-draw-buffers.html [ Failure ]
    26192618fast/canvas/webgl/webgl2-texture-upload-enums.html [ Failure ]
    2620 webgl/1.0.3/conformance/context/context-attribute-preserve-drawing-buffer.html [ Failure ]
    2621 webgl/1.0.3/conformance/context/context-attributes-alpha-depth-stencil-antialias.html [ Failure ]
    2622 webgl/1.0.3/conformance/context/context-hidden-alpha.html [ Failure ]
    2623 webgl/1.0.3/conformance/extensions/webgl-compressed-texture-pvrtc.html [ Failure ]
    26242619fast/canvas/webgl/read-pixels-test.html [ Skip ]
    26252620fast/canvas/webgl/webglcontextchangedevent.html [ Skip ]
     
    32763271
    32773272webkit.org/b/207858 fast/canvas/webgl/context-attributes-alpha.html [ Pass Failure ImageOnlyFailure ]
    3278 webkit.org/b/207858 fast/canvas/webgl/match-page-color-space.html [ Pass Failure ImageOnlyFailure ]
     3273# webkit.org/b/207858 fast/canvas/webgl/match-page-color-space.html [ Pass Failure ImageOnlyFailure ]
    32793274webkit.org/b/207858 webgl/smell-test.html [ Pass Failure ImageOnlyFailure ]
    32803275webkit.org/b/207858 webgl/webgl-backing-store-size-update.html [ Pass Failure ImageOnlyFailure ]
     
    33823377mathml/opentype/munderover-stretch-width.html [ Pass Failure ]
    33833378
    3384 # <rdar://problem/64701357> REGRESSION: [ iOS wk2 ] webgl/1.0.3/conformance/glsl/functions/glsl-function-sign.html and webgl/1.0.3/conformance/glsl/misc/glsl-function-nodes.html are failing consistently.
    3385 webgl/1.0.3/conformance/glsl/functions/glsl-function-sign.html [ Failure ]
    3386 webgl/1.0.3/conformance/glsl/misc/glsl-function-nodes.html [ Failure ]
     3379# # <rdar://problem/64701357> REGRESSION: [ iOS wk2 ] webgl/1.0.3/conformance/glsl/functions/glsl-function-sign.html and webgl/1.0.3/conformance/glsl/misc/glsl-function-nodes.html are failing consistently.
     3380# webgl/1.0.3/conformance/glsl/functions/glsl-function-sign.html [ Failure ]
     3381# webgl/1.0.3/conformance/glsl/misc/glsl-function-nodes.html [ Failure ]
    33873382
    33883383# <rdar://problem/64816264> [ iOS wk2 ] streams/pipe-to.html is flaky failing.
     
    34353430
    34363431webkit.org/b/221833 fast/text/image-alt-text-bidi.html [ ImageOnlyFailure ]
     3432
     3433webkit.org/b/222844 fast/canvas/webgl/match-page-color-space.html [ Pass ImageOnlyFailure ]
     3434webkit.org/b/222844 imported/blink/compositing/draws-content/webgl-simple-background.html [ Pass ImageOnlyFailure ]
     3435
     3436webkit.org/b/222239 webgl/conformance/extensions/khr-parallel-shader-compile.html [ Skip ]
  • trunk/LayoutTests/platform/mac/TestExpectations

    r275071 r275088  
    145145# Asserts in debug.
    146146[ Debug ] fast/images/large-size-image-crash.html [ Skip ]
    147 
    148 webkit.org/b/188061 [ Debug ] webgl/2.0.0/conformance2/glsl3/compound-assignment-type-combination.html [ Slow ]
    149 
    150 [ Debug ] webgl/2.0.0/conformance2/state/gl-object-get-calls.html [ Slow ]
    151147
    152148# Perf tests are very flaky, because they run in parallel with other tests.
     
    20192015
    20202016# rdar://65848157 ([AS Layout Tests] webgl/2.0.0/conformance2/reading/read-pixels-pack-parameters.html is failing)
    2021 [ arm64 ] webgl/2.0.0/conformance2/reading/read-pixels-pack-parameters.html [ Failure ]
     2017# Marked as failing on all architectures below. When that is fixed, this bug still needs to be fixed.
     2018# [ arm64 ] webgl/2.0.0/conformance2/reading/read-pixels-pack-parameters.html [ Failure ]
    20222019
    20232020# rdar://64535650 (BlitFramebuffer sRGB webgl tests crashing/failing)
     
    22572254
    22582255webkit.org/b/223759 [ BigSur Debug ] http/tests/security/webaudio-render-remote-audio-blocked-no-crossorigin-redirect.html [ Pass Timeout ]
     2256
     2257webkit.org/b/222239 fast/canvas/webgl/context-creation-attributes.html [ Pass Failure ]
     2258webkit.org/b/222239 fast/canvas/webgl/webgl2-texture-upload-enums.html [ Pass Failure ]
     2259webkit.org/b/222239 webgl/2.0.0/conformance2/extensions/promoted-extensions-in-shaders.html [ Pass Failure ]
     2260webkit.org/b/222239 webgl/2.0.0/conformance2/rendering/fs-color-type-mismatch-color-buffer-type.html [ Pass Failure ]
     2261webkit.org/b/222239 webgl/2.0.0/conformance/extensions/webgl-draw-buffers.html [ Skip ]
     2262webkit.org/b/222239 webgl/2.0.0/conformance2/textures/misc/texel-fetch-undefined.html [ Skip ]
     2263webkit.org/b/222239 webgl/conformance/extensions/khr-parallel-shader-compile.html [ Skip ]
     2264
     2265webkit.org/b/222239 webgl/2.0.0/conformance/glsl/bugs/compound-assignment-type-combination.html [ Pass Failure Slow ]
     2266webkit.org/b/222239 webgl/2.0.0/conformance2/glsl3/compound-assignment-type-combination.html [ Pass Failure Slow ]
     2267
     2268# Note: Even when fixed, this bug needs to be marked as Slow in debug builds.
     2269webkit.org/b/222239 webgl/2.0.0/conformance2/state/gl-object-get-calls.html [ Pass Failure Slow ]
     2270
     2271# These ones only seem to fail on the bots. Could be older OSes?
     2272webkit.org/b/222239 webgl/1.0.3/conformance/uniforms/uniform-default-values.html [ Pass Failure ]
     2273webkit.org/b/222239 webgl/2.0.0/conformance/uniforms/uniform-default-values.html [ Pass Failure ]
     2274
     2275webkit.org/b/222844 fast/canvas/webgl/match-page-color-space.html [ Pass ImageOnlyFailure ]
     2276webkit.org/b/222844 imported/blink/compositing/draws-content/webgl-simple-background.html [ Pass ImageOnlyFailure ]
     2277
     2278# ASTC may be supported on M1 macs, but we should skip it for now
     2279fast/canvas/webgl/webgl-compressed-texture-astc.html [ Skip ]
     2280
     2281# This fails on Catalina, but not Big Sur.
     2282[ Catalina Mojave ] inspector/canvas/updateShader-webgl.html [ Skip ]
  • trunk/LayoutTests/platform/wk2/TestExpectations

    r274948 r275088  
    231231webaudio/codec-tests/aac/vbr-128kbps-44khz.html [ Timeout ]
    232232webaudio/codec-tests/mp3/128kbps-44khz.html [ Timeout ]
     233
     234# webkit.org/b/221791
     235# fast/canvas/webgl/tex-image-and-sub-image-2d-with-video-rgb565.html [ Failure ]
     236# fast/canvas/webgl/tex-image-and-sub-image-2d-with-video-rgba4444.html [ Failure ]
     237# fast/canvas/webgl/tex-image-and-sub-image-2d-with-video-rgba5551.html [ Failure ]
     238# fast/canvas/webgl/tex-image-and-sub-image-2d-with-video.html [ Failure ]
     239# fast/canvas/webgl/texImage2D-mse-flipY-false.html [ Failure ]
     240# fast/canvas/webgl/texImage2D-mse-flipY-true.html [ Failure ]
     241
     242# webkit.org/b/221790
     243# webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html [ Failure ]
     244# webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html [ Failure ]
     245# webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html [ Failure ]
     246# webgl/1.0.3/conformance/extensions/oes-texture-float-with-video.html [ Failure ]
     247# webgl/1.0.3/conformance/extensions/oes-texture-half-float-with-video.html [ Failure ]
     248# webgl/1.0.3/conformance/textures/tex-image-and-sub-image-2d-with-video.html [ Failure ]
     249
     250# webkit.org/b/221806
     251# webgl/2.0.0/conformance/extensions/oes-texture-float-with-video.html [ Failure ]
     252# webgl/2.0.0/conformance/extensions/oes-texture-half-float-with-video.html [ Failure ]
     253# webgl/2.0.0/conformance/textures/video/tex-2d-rgb-rgb-unsigned_byte.html [ Failure ]
    233254
    234255webkit.org/b/221816 http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html [ Failure ]
  • trunk/Source/WTF/ChangeLog

    r275082 r275088  
     12021-03-26  Dean Jackson  <dino@apple.com>
     2
     3        Enable Metal ANGLE backend for WebGL
     4        https://bugs.webkit.org/show_bug.cgi?id=220076
     5        <rdar://problem/72565020>
     6
     7        Reviewed by Sam Weinig.
     8
     9        Turn the Metal backend for ANGLE on, moving the feature
     10        from Internal to Experimental.
     11
     12        * Scripts/Preferences/WebPreferencesExperimental.yaml:
     13        * Scripts/Preferences/WebPreferencesInternal.yaml:
     14
    1152021-03-26  Jessie Berlin  <jberlin@webkit.org>
    216
  • trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml

    r274983 r275088  
    11371137      default: true
    11381138
     1139WebGLUsingMetal:
     1140  type: bool
     1141  humanReadableName: "WebGL via Metal"
     1142  humanReadableDescription: "Use the Metal backend for ANGLE"
     1143  webcoreBinding: RuntimeEnabledFeatures
     1144  condition: ENABLE(WEBGL)
     1145  defaultValue:
     1146    WebKitLegacy:
     1147      default: true
     1148    WebKit:
     1149      default: true
     1150
    11391151WebGPUEnabled:
    11401152  type: bool
  • trunk/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml

    r275077 r275088  
    796796      default: false
    797797
    798 WebGLUsingMetal:
    799   type: bool
    800   humanReadableName: "WebGL via Metal"
    801   humanReadableDescription: "Use the Metal backend for ANGLE"
    802   webcoreBinding: RuntimeEnabledFeatures
    803   condition: ENABLE(WEBGL)
    804   defaultValue:
    805     WebKitLegacy:
    806       default: false
    807     WebKit:
    808       default: false
    809 
    810798# FIXME: Is this implemented for WebKitLegacy? If not, this should be excluded from WebKitLegacy entirely.
    811799WebRTCDTMFEnabled:
Note: See TracChangeset for help on using the changeset viewer.