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

Log static re_renderer resource generation #1464

Merged
merged 1 commit into from Mar 1, 2023

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Mar 1, 2023

Had a situation where I needed to check whether the resource pool does it job (it did) and then noticed that unlike the dynamic resource pool, the static doesn't log resource creation!

Checklist

@Wumpf Wumpf added the 🔺 re_renderer affects re_renderer itself label Mar 1, 2023
@@ -46,6 +46,15 @@ pub struct TextureDesc {
pub usage: wgpu::TextureUsages,
}

impl TextureDesc {
/// Copies the desc but changes the label.
pub fn with_label(&self, label: DebugLabel) -> Self {
Copy link
Member Author

Choose a reason for hiding this comment

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

This slipped in here by accident - I need it on my current work-stream but it has nothing to do with the pr description

But now it's here, so I'm keeping it :)

@Wumpf Wumpf merged commit 564e343 into main Mar 1, 2023
@Wumpf Wumpf deleted the andreas/re_renderer/static-resource-logging branch March 1, 2023 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔺 re_renderer affects re_renderer itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants