all-is-cubes icon indicating copy to clipboard operation
all-is-cubes copied to clipboard

Texture reallocation copy fails on WebGL

Open kpreid opened this issue 2 years ago • 2 comments

As of commit e4044db0d4312ab92c93474b066444caf166e662, the wgpu renderer supports reallocating the block texture atlas as needed. However, copying the old texture to the new texture silently fails under WebGL. This is plausibly a bug in wgpu, but we need to construct a standalone repro to report it usefully and confidently.

For now, I have added a workaround of copying from the CPU-side tiles instead of the old texture, but that wastes CPU time on the copies.

kpreid avatar Aug 28 '23 18:08 kpreid

Testing: this bug is not fixed by wgpu 0.19.0.

kpreid avatar Jan 18 '24 17:01 kpreid

Testing: this bug is not fixed by wgpu 22.0.0.

kpreid avatar Jul 18 '24 23:07 kpreid