Take test2 from the test directory. Change:
device.queue.writeTexture({ texture }, textureData.buffer, { offset: 0, bytesPerRow: textureWidth*4 }, { width: textureWidth, height: textureHeight });
to
device.queue.writeTexture({ texture }, textureData.buffer, { offset: 0, bytesPerRow: textureWidth*4 }, new Uint32Array([textureWidth, textureHeight]));
This works for webgpu, but is recorded as:
xQueue7.writeTexture({"texture":xTexture10},D[1],{"offset":0,"bytesPerRow":400},{"0":100,"1":100});
which is not accepted.
Take test2 from the test directory. Change:
to
This works for webgpu, but is recorded as:
which is not accepted.