@@ -28,15 +28,15 @@ function testBitwiseAndSinglePrecision(mode) {
28
28
testBitwiseAndSinglePrecision ( 'gpu' ) ;
29
29
} ) ;
30
30
31
- ( GPU . isWebGLSupported ? test : skip ) ( 'bitwise AND single precision webgl' , ( ) => {
31
+ ( GPU . isWebGLSupported && GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise AND single precision webgl' , ( ) => {
32
32
testBitwiseAndSinglePrecision ( 'webgl' ) ;
33
33
} ) ;
34
34
35
35
( GPU . isWebGL2Supported ? test : skip ) ( 'bitwise AND single precision webgl2' , ( ) => {
36
36
testBitwiseAndSinglePrecision ( 'webgl2' ) ;
37
37
} ) ;
38
38
39
- ( GPU . isHeadlessGLSupported ? test : skip ) ( 'bitwise AND single precision headlessgl' , ( ) => {
39
+ ( GPU . isHeadlessGLSupported && GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise AND single precision headlessgl' , ( ) => {
40
40
testBitwiseAndSinglePrecision ( 'headlessgl' ) ;
41
41
} ) ;
42
42
@@ -61,11 +61,11 @@ function testBitwiseAndUnsignedPrecision(mode) {
61
61
gpu . destroy ( ) ;
62
62
}
63
63
64
- ( GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise AND unsigned precision auto' , ( ) => {
64
+ test ( 'bitwise AND unsigned precision auto' , ( ) => {
65
65
testBitwiseAndUnsignedPrecision ( ) ;
66
66
} ) ;
67
67
68
- ( GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise AND unsigned precision gpu' , ( ) => {
68
+ test ( 'bitwise AND unsigned precision gpu' , ( ) => {
69
69
testBitwiseAndUnsignedPrecision ( 'gpu' ) ;
70
70
} ) ;
71
71
@@ -110,15 +110,15 @@ function testBitwiseOrSinglePrecision(mode) {
110
110
testBitwiseOrSinglePrecision ( 'gpu' ) ;
111
111
} ) ;
112
112
113
- ( GPU . isWebGLSupported ? test : skip ) ( 'bitwise OR single precision webgl' , ( ) => {
113
+ ( GPU . isWebGLSupported && GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise OR single precision webgl' , ( ) => {
114
114
testBitwiseOrSinglePrecision ( 'webgl' ) ;
115
115
} ) ;
116
116
117
117
( GPU . isWebGL2Supported ? test : skip ) ( 'bitwise OR single precision webgl2' , ( ) => {
118
118
testBitwiseOrSinglePrecision ( 'webgl2' ) ;
119
119
} ) ;
120
120
121
- ( GPU . isHeadlessGLSupported ? test : skip ) ( 'bitwise OR single precision headlessgl' , ( ) => {
121
+ ( GPU . isHeadlessGLSupported && GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise OR single precision headlessgl' , ( ) => {
122
122
testBitwiseOrSinglePrecision ( 'headlessgl' ) ;
123
123
} ) ;
124
124
@@ -143,11 +143,11 @@ function testBitwiseOrUnsignedPrecision(mode) {
143
143
gpu . destroy ( ) ;
144
144
}
145
145
146
- ( GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise OR unsigned precision auto' , ( ) => {
146
+ test ( 'bitwise OR unsigned precision auto' , ( ) => {
147
147
testBitwiseOrUnsignedPrecision ( ) ;
148
148
} ) ;
149
149
150
- ( GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise OR unsigned precision gpu' , ( ) => {
150
+ test ( 'bitwise OR unsigned precision gpu' , ( ) => {
151
151
testBitwiseOrUnsignedPrecision ( 'gpu' ) ;
152
152
} ) ;
153
153
@@ -192,15 +192,15 @@ function testBitwiseXORSinglePrecision(mode) {
192
192
testBitwiseXORSinglePrecision ( 'gpu' ) ;
193
193
} ) ;
194
194
195
- ( GPU . isWebGLSupported ? test : skip ) ( 'bitwise XOR single precision webgl' , ( ) => {
195
+ ( GPU . isWebGLSupported && GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise XOR single precision webgl' , ( ) => {
196
196
testBitwiseXORSinglePrecision ( 'webgl' ) ;
197
197
} ) ;
198
198
199
199
( GPU . isWebGL2Supported ? test : skip ) ( 'bitwise XOR single precision webgl2' , ( ) => {
200
200
testBitwiseXORSinglePrecision ( 'webgl2' ) ;
201
201
} ) ;
202
202
203
- ( GPU . isHeadlessGLSupported ? test : skip ) ( 'bitwise XOR single precision headlessgl' , ( ) => {
203
+ ( GPU . isHeadlessGLSupported && GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise XOR single precision headlessgl' , ( ) => {
204
204
testBitwiseXORSinglePrecision ( 'headlessgl' ) ;
205
205
} ) ;
206
206
@@ -225,11 +225,11 @@ function testBitwiseXORUnsignedPrecision(mode) {
225
225
gpu . destroy ( ) ;
226
226
}
227
227
228
- ( GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise XOR unsigned precision auto' , ( ) => {
228
+ test ( 'bitwise XOR unsigned precision auto' , ( ) => {
229
229
testBitwiseXORUnsignedPrecision ( ) ;
230
230
} ) ;
231
231
232
- ( GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise XOR unsigned precision gpu' , ( ) => {
232
+ test ( 'bitwise XOR unsigned precision gpu' , ( ) => {
233
233
testBitwiseXORUnsignedPrecision ( 'gpu' ) ;
234
234
} ) ;
235
235
@@ -272,15 +272,15 @@ function testBitwiseNotSinglePrecision(mode) {
272
272
testBitwiseNotSinglePrecision ( 'gpu' ) ;
273
273
} ) ;
274
274
275
- ( GPU . isWebGLSupported ? test : skip ) ( 'bitwise NOT single precision webgl' , ( ) => {
275
+ ( GPU . isWebGLSupported && GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise NOT single precision webgl' , ( ) => {
276
276
testBitwiseNotSinglePrecision ( 'webgl' ) ;
277
277
} ) ;
278
278
279
279
( GPU . isWebGL2Supported ? test : skip ) ( 'bitwise NOT single precision webgl2' , ( ) => {
280
280
testBitwiseNotSinglePrecision ( 'webgl2' ) ;
281
281
} ) ;
282
282
283
- ( GPU . isHeadlessGLSupported ? test : skip ) ( 'bitwise NOT single precision headlessgl' , ( ) => {
283
+ ( GPU . isHeadlessGLSupported && GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise NOT single precision headlessgl' , ( ) => {
284
284
testBitwiseNotSinglePrecision ( 'headlessgl' ) ;
285
285
} ) ;
286
286
@@ -303,11 +303,11 @@ function testBitwiseNotUnsignedPrecision(mode) {
303
303
gpu . destroy ( ) ;
304
304
}
305
305
306
- ( GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise NOT unsigned precision auto' , ( ) => {
306
+ test ( 'bitwise NOT unsigned precision auto' , ( ) => {
307
307
testBitwiseNotUnsignedPrecision ( ) ;
308
308
} ) ;
309
309
310
- ( GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise NOT unsigned precision gpu' , ( ) => {
310
+ test ( 'bitwise NOT unsigned precision gpu' , ( ) => {
311
311
testBitwiseNotUnsignedPrecision ( 'gpu' ) ;
312
312
} ) ;
313
313
@@ -352,15 +352,15 @@ function testBitwiseZeroFillLeftShiftSinglePrecision(mode) {
352
352
testBitwiseZeroFillLeftShiftSinglePrecision ( 'gpu' ) ;
353
353
} ) ;
354
354
355
- ( GPU . isWebGLSupported ? test : skip ) ( 'bitwise zero fill left shift single precision webgl' , ( ) => {
355
+ ( GPU . isWebGLSupported && GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise zero fill left shift single precision webgl' , ( ) => {
356
356
testBitwiseZeroFillLeftShiftSinglePrecision ( 'webgl' ) ;
357
357
} ) ;
358
358
359
359
( GPU . isWebGL2Supported ? test : skip ) ( 'bitwise zero fill left shift single precision webgl2' , ( ) => {
360
360
testBitwiseZeroFillLeftShiftSinglePrecision ( 'webgl2' ) ;
361
361
} ) ;
362
362
363
- ( GPU . isHeadlessGLSupported ? test : skip ) ( 'bitwise zero fill left shift single precision headlessgl' , ( ) => {
363
+ ( GPU . isHeadlessGLSupported && GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise zero fill left shift single precision headlessgl' , ( ) => {
364
364
testBitwiseZeroFillLeftShiftSinglePrecision ( 'headlessgl' ) ;
365
365
} ) ;
366
366
@@ -385,11 +385,11 @@ function testBitwiseZeroFillLeftShiftUnsignedPrecision(mode) {
385
385
gpu . destroy ( ) ;
386
386
}
387
387
388
- ( GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise zero fill left shift unsigned precision auto' , ( ) => {
388
+ test ( 'bitwise zero fill left shift unsigned precision auto' , ( ) => {
389
389
testBitwiseZeroFillLeftShiftUnsignedPrecision ( ) ;
390
390
} ) ;
391
391
392
- ( GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise zero fill left shift unsigned precision gpu' , ( ) => {
392
+ test ( 'bitwise zero fill left shift unsigned precision gpu' , ( ) => {
393
393
testBitwiseZeroFillLeftShiftUnsignedPrecision ( 'gpu' ) ;
394
394
} ) ;
395
395
@@ -434,15 +434,15 @@ function testBitwiseSignedRightShiftSinglePrecision(mode) {
434
434
testBitwiseSignedRightShiftSinglePrecision ( 'gpu' ) ;
435
435
} ) ;
436
436
437
- ( GPU . isWebGLSupported ? test : skip ) ( 'bitwise signed fill right shift single precision webgl' , ( ) => {
437
+ ( GPU . isWebGLSupported && GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise signed fill right shift single precision webgl' , ( ) => {
438
438
testBitwiseSignedRightShiftSinglePrecision ( 'webgl' ) ;
439
439
} ) ;
440
440
441
441
( GPU . isWebGL2Supported ? test : skip ) ( 'bitwise signed fill right shift single precision webgl2' , ( ) => {
442
442
testBitwiseSignedRightShiftSinglePrecision ( 'webgl2' ) ;
443
443
} ) ;
444
444
445
- ( GPU . isHeadlessGLSupported ? test : skip ) ( 'bitwise signed fill right shift single precision headlessgl' , ( ) => {
445
+ ( GPU . isHeadlessGLSupported && GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise signed fill right shift single precision headlessgl' , ( ) => {
446
446
testBitwiseSignedRightShiftSinglePrecision ( 'headlessgl' ) ;
447
447
} ) ;
448
448
@@ -467,11 +467,11 @@ function testBitwiseSignedRightShiftUnsignedPrecision(mode) {
467
467
gpu . destroy ( ) ;
468
468
}
469
469
470
- ( GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise signed fill right shift unsigned precision auto' , ( ) => {
470
+ test ( 'bitwise signed fill right shift unsigned precision auto' , ( ) => {
471
471
testBitwiseSignedRightShiftUnsignedPrecision ( ) ;
472
472
} ) ;
473
473
474
- ( GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise signed fill right shift unsigned precision gpu' , ( ) => {
474
+ test ( 'bitwise signed fill right shift unsigned precision gpu' , ( ) => {
475
475
testBitwiseSignedRightShiftUnsignedPrecision ( 'gpu' ) ;
476
476
} ) ;
477
477
@@ -516,15 +516,15 @@ function testBitwiseZeroFillRightShiftSinglePrecision(mode) {
516
516
testBitwiseZeroFillRightShiftSinglePrecision ( 'gpu' ) ;
517
517
} ) ;
518
518
519
- ( GPU . isWebGLSupported ? test : skip ) ( 'bitwise zero fill right shift single precision webgl' , ( ) => {
519
+ ( GPU . isWebGLSupported && GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise zero fill right shift single precision webgl' , ( ) => {
520
520
testBitwiseZeroFillRightShiftSinglePrecision ( 'webgl' ) ;
521
521
} ) ;
522
522
523
523
( GPU . isWebGL2Supported ? test : skip ) ( 'bitwise zero fill right shift single precision webgl2' , ( ) => {
524
524
testBitwiseZeroFillRightShiftSinglePrecision ( 'webgl2' ) ;
525
525
} ) ;
526
526
527
- ( GPU . isHeadlessGLSupported ? test : skip ) ( 'bitwise zero fill right shift single precision headlessgl' , ( ) => {
527
+ ( GPU . isHeadlessGLSupported && GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise zero fill right shift single precision headlessgl' , ( ) => {
528
528
testBitwiseZeroFillRightShiftSinglePrecision ( 'headlessgl' ) ;
529
529
} ) ;
530
530
@@ -549,11 +549,11 @@ function testBitwiseZeroFillRightShiftUnsignedPrecision(mode) {
549
549
gpu . destroy ( ) ;
550
550
}
551
551
552
- ( GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise zero fill right shift unsigned precision auto' , ( ) => {
552
+ test ( 'bitwise zero fill right shift unsigned precision auto' , ( ) => {
553
553
testBitwiseZeroFillRightShiftUnsignedPrecision ( ) ;
554
554
} ) ;
555
555
556
- ( GPU . isSinglePrecisionSupported ? test : skip ) ( 'bitwise zero fill right shift unsigned precision gpu' , ( ) => {
556
+ test ( 'bitwise zero fill right shift unsigned precision gpu' , ( ) => {
557
557
testBitwiseZeroFillRightShiftUnsignedPrecision ( 'gpu' ) ;
558
558
} ) ;
559
559
0 commit comments