Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gogpu/wgpu
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: dvoyni/wgpu
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 12 commits
  • 36 files changed
  • 1 contributor

Commits on Nov 11, 2026

  1. fix(vulkan): present an acquired image nothing was submitted for

    Queue.Present submits the PRESENT_SRC_KHR barrier as the submission that
    waits on the acquire semaphore when no submission consumed it, instead of
    failing closed and breaking the swapchain. Submit's body is now
    submitLocked, shared with the barrier; the barrier's recording moved to
    recordPresentBarrier.
    dvoyni committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    af6a96e View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2026

  1. fix(vulkan): present every surface a frame acquired

    The queue tracked one active swapchain, so acquiring from a second
    surface replaced the first: the submit waited only on the second acquire,
    and presenting the first failed with "no successful swapchain submission
    is ready for presentation" and broke its swapchain.
    
    The queue now keeps every swapchain with an image acquired and not yet
    presented or discarded. Each submit waits on each one's unconsumed acquire
    semaphore, signals a present semaphore for each, and records the fence
    value their next acquire waits on. acquireUsed moves onto Swapchain.
    SubmitForPresent calls submitLocked instead of repeating it.
    dvoyni committed Nov 12, 2026
    Configuration menu
    Copy the full SHA
    a25b071 View commit details
    Browse the repository at this point in the history
  2. fix(vulkan): fail surface configure when the device's queue family ca…

    …nnot present
    
    Surface.Configure asks vkGetPhysicalDeviceSurfaceSupportKHR for the
    device's queue family and the surface before it creates the swapchain,
    and fails with hal.ErrSurfaceDeviceMismatch, naming the family, when the
    family cannot present. A device of an adapter requested with no
    CompatibleSurface is opened on the first graphics family, which nothing
    checked before.
    dvoyni committed Nov 12, 2026
    Configuration menu
    Copy the full SHA
    7b0a03f View commit details
    Browse the repository at this point in the history
  3. fix(vulkan): wait for the present barrier before resetting its pool

    The next acquire reset the barrier pool while the barrier Present
    submitted could still be pending: the pre-acquire wait covers the submit
    that last consumed the acquire semaphore it reuses, an earlier frame's
    (VUID-vkResetCommandPool-commandPool-00040, and the presented image then
    read as UNDEFINED, VUID-VkPresentInfoKHR-pImageIndices-01430).
    submitPresentBarrier keeps the fence value of its submit, and
    acquireNextImage waits for it before the reset.
    dvoyni committed Nov 12, 2026
    Configuration menu
    Copy the full SHA
    77a4c48 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    690587a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5a49474 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9ffeebf View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2026

  1. Configuration menu
    Copy the full SHA
    4eab9fa View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2026

  1. Configuration menu
    Copy the full SHA
    fba0638 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1fa3d79 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8baf66c View commit details
    Browse the repository at this point in the history
  4. fix(core): a render pass samples one mip level or layer of a texture …

    …while drawing into another
    dvoyni committed Nov 16, 2026
    Configuration menu
    Copy the full SHA
    d9f5440 View commit details
    Browse the repository at this point in the history
Loading