Skip to content

WebGPU: WGPUTextureViewDescriptor struct misses usage member #23945

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

Closed
TheMostDiligent opened this issue Mar 17, 2025 · 1 comment
Closed

WebGPU: WGPUTextureViewDescriptor struct misses usage member #23945

TheMostDiligent opened this issue Mar 17, 2025 · 1 comment

Comments

@TheMostDiligent
Copy link

WebGPU spec: https://www.w3.org/TR/webgpu/#dictdef-gputextureviewdescriptor

Image

Emscripten:

typedef struct WGPUTextureViewDescriptor {
WGPUChainedStruct const * nextInChain;
WGPU_NULLABLE char const * label;
WGPUTextureFormat format;
WGPUTextureViewDimension dimension;
uint32_t baseMipLevel;
uint32_t mipLevelCount;
uint32_t baseArrayLayer;
uint32_t arrayLayerCount;
WGPUTextureAspect aspect;
} WGPUTextureViewDescriptor WGPU_STRUCTURE_ATTRIBUTE;

@kripken
Copy link
Member

kripken commented Mar 18, 2025

See #23432 for plans on updating.

@kripken kripken closed this as completed Mar 18, 2025
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