You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Going from 0.19.4 to 0.20.0 makes my game always return timeout when getting the output surface.
Repro steps
Just for ease in my code, there are multiple command buffer creation, render pass, then queue submits. This is all on a single thread. In 0.19.4, this worked, but if I do anything more than a single command buffer, this:
surface.get_current_texture()
returns a timeout.
Not a recreation example but just how my normal rendering goes (this happens maybe 5-10 times every frame, and is different every time but the normal command/render pass/queue stuff), this is just a simple example.
This worked fine in 0.19.4, in 0.20.0 it throws the timeout (always, not just a first frame or every once in a while). If I need to rework all my code I can but this seems like a regression.
So, specifically, if I do an encoder/render pass/draw something/queue submit more than once in a frame in the same thread it breaks current surface. If I do it JUST ONCE, it works fine.
Expected vs observed behavior
Seems to be a regression; to have it work like it did in 0.19.4.
Extra materials
n/a
Platform
Windows 10, AMD card, game also runs on Mac but haven't tested it there yet.
The text was updated successfully, but these errors were encountered:
Description
Going from 0.19.4 to 0.20.0 makes my game always return timeout when getting the output surface.
Repro steps
Just for ease in my code, there are multiple command buffer creation, render pass, then queue submits. This is all on a single thread. In 0.19.4, this worked, but if I do anything more than a single command buffer, this:
surface.get_current_texture()
returns a timeout.
Not a recreation example but just how my normal rendering goes (this happens maybe 5-10 times every frame, and is different every time but the normal command/render pass/queue stuff), this is just a simple example.
This worked fine in 0.19.4, in 0.20.0 it throws the timeout (always, not just a first frame or every once in a while). If I need to rework all my code I can but this seems like a regression.
So, specifically, if I do an encoder/render pass/draw something/queue submit more than once in a frame in the same thread it breaks current surface. If I do it JUST ONCE, it works fine.
Expected vs observed behavior
Seems to be a regression; to have it work like it did in 0.19.4.
Extra materials
n/a
Platform
Windows 10, AMD card, game also runs on Mac but haven't tested it there yet.
The text was updated successfully, but these errors were encountered: