File tree Expand file tree Collapse file tree
src/webgpu/api/validation/capability_checks/features Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -541,7 +541,7 @@ g.test('check_capability_guarantees')
541541 . desc (
542542 `check any adapter returned by requestAdapter() must provide the following guarantees:
543543 - "texture-compression-bc" is supported or both "texture-compression-etc2" and "texture-compression-astc" are supported
544- - either "texture-compression-bc" or "texture-compression-bc- sliced-3d" is supported, both must be supported.
544+ - if "texture-compression-bc- sliced-3d" is supported, then "texture-compression-bc" must be supported.
545545 - if "texture-compression-astc-sliced-3d" is supported, then "texture-compression-astc" must be supported.
546546 `
547547 )
@@ -562,11 +562,8 @@ g.test('check_capability_guarantees')
562562 'Adapter must support BC or both ETC2 and ASTC'
563563 ) ;
564564
565- if ( supportsBC || supportsBCSliced3D ) {
566- t . expect (
567- supportsBC && supportsBCSliced3D ,
568- 'If BC or BC Sliced 3D is supported, both must be'
569- ) ;
565+ if ( supportsBCSliced3D ) {
566+ t . expect ( supportsBC , 'If BC Sliced 3D is supported, BC must be supported' ) ;
570567 }
571568
572569 if ( supportsASTCSliced3D ) {
You can’t perform that action at this time.
0 commit comments