more cleanup

This commit is contained in:
Rowan 2025-04-22 21:44:21 -05:00
parent 80704056b1
commit 5e6b9c8fb1
2 changed files with 1 additions and 5 deletions

View file

@ -1,5 +1,5 @@
import { BufferError, WebGPUError } from '../utils/errors.js'
import { TypedArray, TypedArrayConstructor } from '../utils/index.js' import { TypedArray, TypedArrayConstructor } from '../utils/index.js'
import { BufferError, WebGPUError } from '../utils/errors.js'
import { ResourceType } from '../utils/internal-enums.js' import { ResourceType } from '../utils/internal-enums.js'
type SmallTypedArray = Exclude<TypedArray, BigInt64Array | BigUint64Array> type SmallTypedArray = Exclude<TypedArray, BigInt64Array | BigUint64Array>

View file

@ -92,10 +92,6 @@ export class Material {
resource: resource.toBindingResource() resource: resource.toBindingResource()
} }
if (variableInfo.resourceType === ResourceType.Uniform || variableInfo.resourceType === ResourceType.Storage) {
// TODO: handle user provided offset/size
}
entries.push(entry) entries.push(entry)
} }