Skip to content

"No work has been submitted for this frame" timeout #3189

@Beyley

Description

@Beyley

Description
If you do not submit any work for a surface, and present it, problems occur running wgpuSwapChainGetCurrentTextureView (wgpu-native), it seems to be hitting this line specifically

Repro steps
You can just strip out all code that submits work from any rendering example

Expected vs observed behavior
Nothing should happen, and wgpuSwapChainGetCurrentTextureView should run just fine, but it does not, sometimes failing with a timeout, sometimes working

Extra materials
the 'beginning scene' is where i get the swap chain's current texture view, things marked with 'CallbackError' are errors from wgpuDeviceSetUncapturedErrorCallback
image

Platform
Arch Linux, AMD GPU, latest master of wgpu-native

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions