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

Implement GPURenderPassColorAttachment.depthSlice #4764

Open
kpreid opened this issue Nov 24, 2023 · 3 comments
Open

Implement GPURenderPassColorAttachment.depthSlice #4764

kpreid opened this issue Nov 24, 2023 · 3 comments
Labels
area: api Issues related to API surface type: enhancement New feature or request

Comments

@kpreid
Copy link
Contributor

kpreid commented Nov 24, 2023

Description
The WebGPU specification includes:

depthSlice, of type GPUIntegerCoordinate

Indicates the depth slice index of "3d" view that will be output to for this color attachment.

But wgpu::RenderPassColorAttachment has no such field. Either this is a missing feature, or there is an intentional API deviation that is not documented and should be.

Platform
wgpu 0.18.0

@cwfitzgerald
Copy link
Member

Just missing.

@cwfitzgerald cwfitzgerald added this to the WebGPU Specification V1 milestone Nov 24, 2023
@cwfitzgerald cwfitzgerald added type: enhancement New feature or request area: api Issues related to API surface labels Nov 24, 2023
@teoxoy teoxoy changed the title Implement or explain the absence of GPURenderPassColorAttachment.depthSlice Implement GPURenderPassColorAttachment.depthSlice Nov 24, 2023
@teoxoy
Copy link
Member

teoxoy commented Nov 24, 2023

More info in: gpuweb/gpuweb#4251 & gpuweb/gpuweb#4254

@rajveermalviya
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: api Issues related to API surface type: enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

4 participants