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

Filter Resource Inspector to show only resources used in current frame #3348

Closed
ccosse opened this issue Jun 8, 2024 · 2 comments
Closed
Labels
Bug A crash, misbehaviour, or other problem Need More Info More information is needed from a user to work on this issue

Comments

@ccosse
Copy link

ccosse commented Jun 8, 2024

Description

The application I'm inspecting has roughly 1000 resources, each of which is duplicated per each of 3 frames-in-flight. If the currently captured frame is using swapchain image #1, for example, then 2/3 of the resources in the resource list do not apply.

I would like to be able to filter the resource list to show only those resources used by the currently captured frame, and thus pare-down the resource list so that everything showing is relevant to the currently captured frame.

Environment

  • RenderDoc version: 1.33
  • Operating System: Windows 10/ RHEL9/ Linux Mint
  • Graphics API: Vulkan 1.3.261.0
@Zorro666 Zorro666 added Feature An improvement or feature Unresolved Waiting for a fix or implementation labels Jun 10, 2024
@baldurk baldurk added Bug A crash, misbehaviour, or other problem Need More Info More information is needed from a user to work on this issue and removed Feature An improvement or feature Unresolved Waiting for a fix or implementation labels Jun 11, 2024
@baldurk
Copy link
Owner

baldurk commented Jun 11, 2024

RenderDoc captures by default only include resources referenced in the captured region, though this is a conservative set and it is not feasible to precisely determine the exact set. It only includes every resource that exists when requested.

Are you sure that there are 1000s of resources being included which are not referenced in any way, including e.g. being bound in descriptor sets or otherwise indirectly used, or that you're setting the option that forces it to include every resource?

If you are sure, can you share a sample application that exhibits this behaviour?

@ccosse
Copy link
Author

ccosse commented Jun 14, 2024

Hi, thank you for the reply; the resources I am referring to probably are referenced somewhere after all. Thanks again!

@baldurk baldurk closed this as completed Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A crash, misbehaviour, or other problem Need More Info More information is needed from a user to work on this issue
Projects
None yet
Development

No branches or pull requests

3 participants