@@ -16,7 +16,7 @@ import {
1616 getBlockInfoForTextureFormat ,
1717 isTextureFormatMultisampled ,
1818 isTextureFormatColorRenderable ,
19- isTextureFormatUsableAsStorageFormat ,
19+ isTextureFormatUsableAsStorageTexture ,
2020 isTextureFormatPossiblyUsableAsColorRenderAttachment ,
2121 isTextureFormatPossiblyStorageReadable ,
2222 isColorTextureFormat ,
@@ -373,7 +373,7 @@ g.test('sampleCount,valid_sampleCount_with_other_parameter_varies')
373373
374374 const satisfyWithStorageUsageRequirement =
375375 ( usage & GPUConst . TextureUsage . STORAGE_BINDING ) === 0 ||
376- isTextureFormatUsableAsStorageFormat ( t . device , format ) ;
376+ isTextureFormatUsableAsStorageTexture ( t . device , format ) ;
377377
378378 const success =
379379 ( sampleCount === 1 && satisfyWithStorageUsageRequirement ) ||
@@ -1029,7 +1029,7 @@ g.test('texture_usage')
10291029 // Note that we unconditionally test copy usages for all formats and
10301030 // expect failure if copying from or to is not supported.
10311031 if ( usage & GPUTextureUsage . STORAGE_BINDING ) {
1032- if ( ! isTextureFormatUsableAsStorageFormat ( t . device , format ) ) success = false ;
1032+ if ( ! isTextureFormatUsableAsStorageTexture ( t . device , format ) ) success = false ;
10331033 }
10341034 if ( usage & GPUTextureUsage . RENDER_ATTACHMENT ) {
10351035 if ( appliedDimension === '1d' ) success = false ;
0 commit comments