- It returns an object of getters, imo it should just return an object with the current value of those, especially since they're never really gonna change.
- Outdated typescript types (consider just using
@webgpu/types?)
adapter.info shouldn't return getters, but a snapshot of the current values
adapter.info is returning weird values for device, architecture, and vendor:
{
subgroupMatrixConfigs: [],
vendor: "97109100",
architecture: "11410011097-50",
device: "97109100-11497100101111110-544948109-11497100118-1149711210497101108-10910111010011199105110111-",
description: "radv: Mesa 25.1.9",
subgroupMinSize: 32,
subgroupMaxSize: 64,
isFallbackAdapter: false,
}
- (suggestion)
vendor and device could return the names of the vendor and device respectively, and there could be vendorId and deviceId for the ids. Also there could also be a backend value (e.g metal, vulkan, opengl, etc)
@webgpu/types?)adapter.infoshouldn't return getters, but a snapshot of the current valuesadapter.infois returning weird values fordevice,architecture, andvendor:vendoranddevicecould return the names of the vendor and device respectively, and there could bevendorIdanddeviceIdfor the ids. Also there could also be abackendvalue (e.gmetal,vulkan,opengl, etc)