Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const kKnownWGSLLanguageFeatures = [
'immediate_address_space',
'fragment_depth',
'buffer_view',
'unrestricted_aliasing',
// IMPORTANT: Always add features to capability_info.ts before adding them here.
// This ensures that they're tested properly.
];
Expand Down
1 change: 1 addition & 0 deletions src/webgpu/capability_info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,7 @@ export const kKnownWGSLLanguageFeatures = [
'immediate_address_space',
'fragment_depth',
'buffer_view',
'unrestricted_aliasing',
// This list should be kept in sync with .eslintrc.cjs.
] as const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ import { keysOf } from '../../../../../../common/util/data_tables.js';
import { assert } from '../../../../../../common/util/util.js';
import { AllFeaturesMaxLimitsGPUTest } from '../../../../../gpu_test.js';
import { Type } from '../../../../../util/conversion.js';
import {
kMixedTypeBuffers,
kMixedTypeIdx,
kMixedTypeOps,
kMixedTypeOverlaps,
kMixedTypePairs,
MixedType,
mixedTypeName,
mixedTypeWords,
runMixedTypeAliasingTest,
} from '../mixed_type_aliasing_utils.js';

import {
kBufferSizes,
Expand All @@ -22,15 +33,6 @@ import {
runReadLayoutTest,
runWriteLayoutTest,
runReadWriteTest,
kMixedTypeOps,
kMixedTypeIdx,
kMixedTypePairs,
kMixedTypeOverlaps,
kMixedTypeBuffers,
MixedType,
mixedTypeName,
mixedTypeWords,
runMixedTypeAliasingTest,
} from './buffer_view_utils.js';

export const g = makeTestGroup(AllFeaturesMaxLimitsGPUTest);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ import { keysOf } from '../../../../../../common/util/data_tables.js';
import { assert } from '../../../../../../common/util/util.js';
import { AllFeaturesMaxLimitsGPUTest } from '../../../../../gpu_test.js';
import { Type } from '../../../../../util/conversion.js';
import {
kMixedTypeBuffers,
kMixedTypeIdx,
kMixedTypeOps,
kMixedTypeOverlaps,
kMixedTypePairs,
MixedType,
mixedTypeName,
mixedTypeWords,
runMixedTypeAliasingTest,
} from '../mixed_type_aliasing_utils.js';

import {
kBufferSizes,
Expand All @@ -21,15 +32,6 @@ import {
runReadLayoutTest,
runWriteLayoutTest,
runReadWriteTest,
kMixedTypeOps,
kMixedTypeIdx,
kMixedTypePairs,
kMixedTypeOverlaps,
kMixedTypeBuffers,
MixedType,
mixedTypeName,
mixedTypeWords,
runMixedTypeAliasingTest,
} from './buffer_view_utils.js';

export const g = makeTestGroup(AllFeaturesMaxLimitsGPUTest);
Expand Down
Loading
Loading