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

wgpu renderer now always requires a RenderPass being passed in, pass command encoder to prepare callback #2136

Merged
merged 4 commits into from
Oct 12, 2022

Conversation

Wumpf
Copy link
Collaborator

@Wumpf Wumpf commented Oct 11, 2022

This also implies that it no longer owns the depth buffer! (why would it anyways!)

Closes #2083
Closes most of #2022 - I'd argue there should be a separate ticket for the "move winit integration elsewhere" bit
Closes half of #2084 - we get the command encoder, but haven't gone as far as removing the queue (which I also kinda don't want to right now because where else would one get it from if a prepare needs the queue's data uploading functionality 🤔 )

cc: @kvark

@Wumpf Wumpf changed the title wgpu renderer now always requires a RenderPass being passed in wgpu renderer now always requires a RenderPass being passed in, pass command encoder to prepare callback Oct 11, 2022
Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much nicer!

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
crates/egui-wgpu/src/renderer.rs Outdated Show resolved Hide resolved
@Wumpf Wumpf requested a review from emilk October 12, 2022 10:59
@Wumpf Wumpf force-pushed the wgpu-always-pass-renderpass branch from 55b3d2f to 5c72043 Compare October 12, 2022 11:48
@emilk emilk merged commit c414af7 into emilk:master Oct 12, 2022
@Wumpf Wumpf deleted the wgpu-always-pass-renderpass branch August 14, 2023 08:15
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

Successfully merging this pull request may close these issues.

wgpu RenderPass with a depth/stencil attachment
2 participants