sampler_allocation.spec.ts (599B)
1 export const description = ` 2 Stress tests for allocation of GPUSampler objects through GPUDevice. 3 `; 4 5 import { makeTestGroup } from '../../common/framework/test_group.js'; 6 import { GPUTest } from '../../webgpu/gpu_test.js'; 7 8 export const g = makeTestGroup(GPUTest); 9 10 g.test('coexisting') 11 .desc(`Tests allocation of many coexisting GPUSampler objects.`) 12 .unimplemented(); 13 14 g.test('continuous') 15 .desc( 16 `Tests allocation and implicit GC of many GPUSampler objects over time. Objects 17 are sequentially created and dropped for GC over a very large number of 18 iterations.` 19 ) 20 .unimplemented();