-
Notifications
You must be signed in to change notification settings - Fork 2.1k
webgpu: textures and initial textureview work #8665
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
Conversation
d185a51 to
cc22348
Compare
32af21d to
48801ea
Compare
48801ea to
d76ce50
Compare
d76ce50 to
3f43aba
Compare
| uint32_t width, uint32_t height, uint32_t depth, TextureUsage usage, | ||
| wgpu::Device device) noexcept { | ||
|
|
||
| // First the texture aspect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean the aspect for the Texture View? wdym here? Is this a helpful comment?
| // layout index for efficiency. Add guards if wrong. | ||
| entries[index] = std::move(entry); | ||
| } | ||
| // From createTextureR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this comment will get stale very quickly when the swapchain uses it, do we need it?
|
@bridgewaterrobbie this can be closed now yes? I think this was merged in another PR |
Initial work for CreateTexture and TextureView calls that we will support in this first pass.
BUGS=[403532779]