@@ -25,7 +25,6 @@ import {
25
25
textureFormatsAreViewCompatible ,
26
26
} from '../../../format_info.js' ;
27
27
import { AllFeaturesMaxLimitsGPUTest } from '../../../gpu_test.js' ;
28
- import { skipIfTextureAndFormatNotCompatibleForDevice } from '../../../shader/execution/expression/call/builtin/texture_utils.js' ;
29
28
import * as ttu from '../../../texture_test_utils.js' ;
30
29
import { checkElementsEqual } from '../../../util/check_contents.js' ;
31
30
import { align } from '../../../util/math.js' ;
@@ -927,8 +926,8 @@ g.test('color_textures,compressed,non_array')
927
926
srcCopyLevel,
928
927
dstCopyLevel,
929
928
} = t . params ;
930
- skipIfTextureAndFormatNotCompatibleForDevice ( t , dimension , srcFormat ) ;
931
- skipIfTextureAndFormatNotCompatibleForDevice ( t , dimension , dstFormat ) ;
929
+ t . skipIfTextureFormatAndDimensionNotCompatible ( srcFormat , dimension ) ;
930
+ t . skipIfTextureFormatAndDimensionNotCompatible ( dstFormat , dimension ) ;
932
931
t . skipIfCopyTextureToTextureNotSupportedForFormat ( srcFormat , dstFormat ) ;
933
932
const { blockWidth : srcBlockWidth , blockHeight : srcBlockHeight } =
934
933
getBlockInfoForColorTextureFormat ( srcFormat ) ;
@@ -1074,8 +1073,8 @@ g.test('color_textures,compressed,array')
1074
1073
} = t . params ;
1075
1074
t . skipIfTextureFormatNotSupported ( srcFormat , dstFormat ) ;
1076
1075
t . skipIfCopyTextureToTextureNotSupportedForFormat ( srcFormat , dstFormat ) ;
1077
- skipIfTextureAndFormatNotCompatibleForDevice ( t , dimension , srcFormat ) ;
1078
- skipIfTextureAndFormatNotCompatibleForDevice ( t , dimension , dstFormat ) ;
1076
+ t . skipIfTextureFormatAndDimensionNotCompatible ( srcFormat , dimension ) ;
1077
+ t . skipIfTextureFormatAndDimensionNotCompatible ( dstFormat , dimension ) ;
1079
1078
1080
1079
const { blockWidth : srcBlockWidth , blockHeight : srcBlockHeight } =
1081
1080
getBlockInfoForColorTextureFormat ( srcFormat ) ;
0 commit comments