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

Vulkan swapchain warning message printed when replaying DX12 capture #1402

Closed
davidd-lunarg opened this issue Jan 9, 2024 · 2 comments
Closed
Assignees
Labels
d3d12 Issue with D3D 12 support P2 A high-priority code maintenance issue or a functional problem that is recoverable or not a crash. replay Issue with replay (capture was successful)

Comments

@davidd-lunarg
Copy link
Contributor

The warning message

[gfxrecon] WARNING - Rendering was restricted to surface index 0, but a surface was never created for that index; replay created 0 surface(s)

is logged when replaying any DX12 capture. This error comes from VulkanSwapchain::Clean() and does not appear to be a valid warning for DX12 replay.

@davidd-lunarg davidd-lunarg added replay Issue with replay (capture was successful) d3d12 Issue with D3D 12 support labels Jan 9, 2024
@bradgrantham-lunarg bradgrantham-lunarg added the P2 A high-priority code maintenance issue or a functional problem that is recoverable or not a crash. label Mar 12, 2024
@nickdriscoll-lunarg nickdriscoll-lunarg self-assigned this Apr 11, 2024
@nickdriscoll-lunarg
Copy link
Contributor

Unable to reproduce issue. Replayed a capture of the D3D12 sample mentioned in #1465 and a commercial title without encountering this warning.

@nickdriscoll-lunarg
Copy link
Contributor

This issue was resolved in #1156 when VulkanSwapchain::options_surface_index_ was replaced by VulkanSwapchain::swapchain_options_.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
d3d12 Issue with D3D 12 support P2 A high-priority code maintenance issue or a functional problem that is recoverable or not a crash. replay Issue with replay (capture was successful)
Projects
None yet
Development

No branches or pull requests

3 participants