Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type fail for GPUSupportedLimits #9

Open
samreid opened this issue Sep 20, 2024 · 1 comment
Open

Type fail for GPUSupportedLimits #9

samreid opened this issue Sep 20, 2024 · 1 comment
Assignees

Comments

@samreid
Copy link
Member

samreid commented Sep 20, 2024

CTQ failed with

tsc: ../../../alpenglow/js/webgpu/compute/DeviceContext.ts(199,28): error TS7053: Element implicitly has an 'any' type because expression of type '"maxTextureDimension1D" | "maxTextureDimension2D" | "maxTextureDimension3D" | "maxTextureArrayLayers" | "maxBindGroups" | "maxBindingsPerBindGroup" | "maxDynamicUniformBuffersPerPipelineLayout" | ... 23 more ... | "maxComputeWorkgroupsPerDimension"' can't be used to index type 'GPUSupportedLimits'.
Property 'maxInterStageShaderComponents' does not exist on type 'GPUSupportedLimits'.
@samreid
Copy link
Member Author

samreid commented Sep 20, 2024

I was able to reproduce this problem after npm update in chipper. Perhaps the type changed for "@webgpu/types": "~0.1.34",

I'll push a ts-expect-error for now.

samreid added a commit that referenced this issue Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants