@@ -12,13 +12,13 @@ Component-wise when T is a vector.
12
12
13
13
import { makeTestGroup } from '../../../../../../common/framework/test_group.js' ;
14
14
import { GPUTest } from '../../../../../gpu_test.js' ;
15
- import { TypeF32 , TypeF16 , TypeAbstractFloat } from '../../../../../util/conversion.js' ;
15
+ import { TypeF32 , TypeF16 } from '../../../../../util/conversion.js' ;
16
16
import { FP } from '../../../../../util/floating_point.js' ;
17
- import { fullF32Range , fullF16Range , fullF64Range } from '../../../../../util/math.js' ;
17
+ import { fullF32Range , fullF16Range } from '../../../../../util/math.js' ;
18
18
import { makeCaseCache } from '../../case_cache.js' ;
19
- import { allInputSources , onlyConstInputSource , run } from '../../expression.js' ;
19
+ import { allInputSources , run } from '../../expression.js' ;
20
20
21
- import { abstractBuiltin , builtin } from './builtin.js' ;
21
+ import { builtin } from './builtin.js' ;
22
22
23
23
export const g = makeTestGroup ( GPUTest ) ;
24
24
@@ -43,30 +43,15 @@ export const d = makeCaseCache('round', {
43
43
FP . f16 . roundInterval
44
44
) ;
45
45
} ,
46
- abstract : ( ) => {
47
- return FP . abstract . generateScalarToIntervalCases (
48
- [
49
- 0x8000_0000_0000_0000 , // https://github.com/gpuweb/cts/issues/2766
50
- ...fullF64Range ( ) ,
51
- ] ,
52
- 'unfiltered' ,
53
- FP . abstract . roundInterval
54
- ) ;
55
- } ,
56
46
} ) ;
57
47
58
48
g . test ( 'abstract_float' )
59
49
. specURL ( 'https://www.w3.org/TR/WGSL/#float-builtin-functions' )
60
50
. desc ( `abstract float tests` )
61
51
. params ( u =>
62
- u
63
- . combine ( 'inputSource' , onlyConstInputSource )
64
- . combine ( 'vectorize' , [ undefined , 2 , 3 , 4 ] as const )
52
+ u . combine ( 'inputSource' , allInputSources ) . combine ( 'vectorize' , [ undefined , 2 , 3 , 4 ] as const )
65
53
)
66
- . fn ( async t => {
67
- const cases = await d . get ( 'abstract' ) ;
68
- await run ( t , abstractBuiltin ( 'round' ) , [ TypeAbstractFloat ] , TypeAbstractFloat , t . params , cases ) ;
69
- } ) ;
54
+ . unimplemented ( ) ;
70
55
71
56
g . test ( 'f32' )
72
57
. specURL ( 'https://www.w3.org/TR/WGSL/#float-builtin-functions' )
0 commit comments