Skip to content

Version 26.0.2 #7998

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

Merged
merged 4 commits into from
Jul 23, 2025
Merged

Version 26.0.2 #7998

merged 4 commits into from
Jul 23, 2025

Conversation

cwfitzgerald
Copy link
Member

No description provided.

@cwfitzgerald cwfitzgerald requested a review from a team as a code owner July 23, 2025 23:05
@cwfitzgerald cwfitzgerald requested review from Copilot and removed request for a team July 23, 2025 23:18
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR releases version 26.0.2 with critical bug fixes for Vulkan swapchain handling and framebuffer caching. The changes address validation errors with the latest Vulkan SDK and resolve flickering/crashing issues on AMD devices and Renderdoc due to incorrect caching when drivers reuse handles.

  • Major refactoring of swapchain semaphore management by splitting acquire and present semaphores into separate structures
  • Introduction of resource identity factories to provide unique IDs for Vulkan resources to prevent handle reuse issues
  • API change requiring &self parameter in texture_from_raw method for generating unique identities

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
wgpu-hal/src/vulkan/mod.rs Major refactoring of swapchain semaphore structures and addition of resource identity system
wgpu-hal/src/vulkan/instance.rs Updates to swapchain acquisition logic to use new semaphore structures
wgpu-hal/src/vulkan/device.rs Addition of identity generation for textures and texture views, API change to texture_from_raw
wgpu-hal/src/vulkan/command.rs Updates to framebuffer and texture view handling to use identity-based keys
wgpu-hal/src/vulkan/adapter.rs Initialization of resource identity factories
Cargo.toml Version bump to 26.0.2
CHANGELOG.md Documentation of bug fixes and breaking change warning

/// that to index it.
///
/// Before we pass this to [`vkAcquireNextImageKHR`], we ensure that we wait on
/// the submission indicated by [`previously_used_submission_index`]. This enusres
Copy link
Preview

Copilot AI Jul 23, 2025

Choose a reason for hiding this comment

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

Spelling error: 'enusres' should be 'ensures'.

Suggested change
/// the submission indicated by [`previously_used_submission_index`]. This enusres
/// the submission indicated by [`previously_used_submission_index`]. This ensures

Copilot uses AI. Check for mistakes.

@cwfitzgerald cwfitzgerald merged commit 0304924 into gfx-rs:v26 Jul 23, 2025
40 checks passed
@cwfitzgerald cwfitzgerald deleted the cw/26.0.2 branch July 23, 2025 23:20
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.

1 participant