Almar Klein

Results 1569 comments of Almar Klein

We actually already do something like this in `begin_render_pass()`: https://github.com/pygfx/wgpu-py/blob/b5e9f66e13fb83b8976e65ad7aea8fa35437bd3f/wgpu/backends/wgpu_native/_api.py#L2316 But yeah, preferably this is not needed, cause it comes with a risk.

I have a different problem that seems to be caused by the same issue. I'm on MacOS. Basically, I have this: ``` ➜ fastplotlib git:(poly-select) ✗ git status On branch...

> any idea how this could've gotten modified? No idea ...

Wgpu applies some limits (of which the max texture sizes are probably the most impactful) https://gpuweb.github.io/gpuweb/#limit-default In pygfx you can set these limits (before creating the first renderer) using e.g....

You can try creating a Texture that represents a stack of 2D images, so that the 2D texture limit applies. In wgpu, this works: ```py >>> d.create_texture(size=(3000, 3000, 3), format=wgpu.TextureFormat.r16float,...

Thanks! I'd prefer small pr's for individual fixes. I am happy to review and merge incoming pr's, but note that PScript is not very actively developed, so you should decide...

I extended the notes above. @Korijn what do you think?

What Korijn said. The `buffers` field is no longer required in the latest version. The example has been updated to demonstrate this, but this means that the latest version of...

Not yet: https://github.com/gfx-rs/wgpu/issues/4067