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
I've been having some trouble with stencilling. Things seem to work fine on MacOS, but not so much on Win10 and Ubuntu. The stencil itself works fine, but what's drawn afterwards is muddled somehow. It's almost as if the stencil carries on with subsequent draw calls, denying future calls the ability to draw in previously used space.
Repro steps
I've created a single file program for this which you can find in the wgpu/examples folder of this fork.
You can run the example with "cargo -r --example hello-stencil
Expected vs observed behavior
Here we see three triangles being rendered to the screen
Now a fourth stencilling triangle is added, which works correctly
On Ubuntu however, we see the incorrect behaviour
The text was updated successfully, but these errors were encountered:
Description
I've been having some trouble with stencilling. Things seem to work fine on MacOS, but not so much on Win10 and Ubuntu. The stencil itself works fine, but what's drawn afterwards is muddled somehow. It's almost as if the stencil carries on with subsequent draw calls, denying future calls the ability to draw in previously used space.
Repro steps
I've created a single file program for this which you can find in the wgpu/examples folder of this fork.
You can run the example with "cargo -r --example hello-stencil
Expected vs observed behavior
Here we see three triangles being rendered to the screen
Now a fourth stencilling triangle is added, which works correctly
On Ubuntu however, we see the incorrect behaviour
The text was updated successfully, but these errors were encountered: