!MFogdGJfnZLrDmgkBN:matrix.org

WebGPU

417 Members
The future of graphics and compute on the Web! Related rooms: https://matrix.to/#/#webgraphics:matrix.org34 Servers

Load older messages


SenderMessageTime
21 Sep 2022
@kainino:matrix.orgkainino
In reply to @touchyy:matrix.org
Hello. Which version of WebGPU/dawn is implemented in the recent chrome release? (not canary). I know that it has gone official on 5th(?) of september but I guess it isn't 1.0 yet.
Sorry, I misread the schedule because doesn't fit on my laptop display. Current stable is Jul 21, not Jun 9.
17:01:12
22 Sep 2022
@zarmot:matrix.org@zarmot:matrix.org left the room.01:37:09
@erichdongubler-mozilla:mozilla.orgErich Gubler joined the room.13:54:15
@pjotterplotter:matrix.orgMatthijs [Polkascan] changed their display name from Pjotter de Plotter to Matthijs [Polkascan].14:12:06
23 Sep 2022
@coin_ex_exchange:matrix.org@coin_ex_exchange:matrix.org joined the room.08:48:33
@coin_ex_exchange:matrix.org@coin_ex_exchange:matrix.org left the room.19:42:32
24 Sep 2022
@leroycepearson:one.ems.hostgeemiliWhat would be the recommended way to do sprite batching in WebGPU? Right now I'm creating a command encoder and submitting it each time the batch is full, but it feels a bit clunky to do it that way00:55:12
@cwfitzgerald:matrix.orgcwfitzgeraldWym the batch is full? You can move into the next batch and use the same encoder/submission08:36:43
25 Sep 2022
@cypherpunks0x:matrix.org@cypherpunks0x:matrix.org joined the room.10:19:43
@leroycepearson:one.ems.hostgeemili
In reply to @cwfitzgerald:matrix.org
Wym the batch is full? You can move into the next batch and use the same encoder/submission
Right now I have a spritebatcher that keeps a buffer of vertices CPU side. The buffer is a fixed size, allocated once at startup, and when that buffer is full I upload it to the GPU and have it draw the list of buffers. I'm assuming that I need to submit the commands before I reuse the buffer? Does WebGPU make a copy when writeBuffer is used?
15:09:51
@cwfitzgerald:matrix.orgcwfitzgeraldAs write_buffer happens at the beginning of a submit, you will need to submit if you want to order the so that the next write_buffer happens before your next draw15:20:32
@cwfitzgerald:matrix.orgcwfitzgeraldWhat I'll recommend though is that you either resize the buffer or create new buffers such that you can write the entire frames information at the beginning, then execute all of it15:21:22
26 Sep 2022
@rezmason:matrix.orgrezmason Is there a WebGPU/WGSL equivalent of GLSL's precision highp float;? 04:47:45
@rezmason:matrix.orgrezmason...That was a stupid question.04:48:27
@rezmason:matrix.orgrezmasonShould there be any discrepancy between the way the same texture is sampled in WebGPU vs WebGL? This wouldn't be the first difference I caused with my own code in this project, I just need my expectations calibrated 😅15:25:00
@rezmason:matrix.orgrezmasonimage.png
Download image.png
15:25:11
@rezmason:matrix.orgrezmason👆️ 🎶 WebGPU in one corner, WebGL in a spot, light, comparing interpolation 🎵15:26:05
@jasperrlz:matrix.orgjasperrlzThere should not be, assuming the sampler settings are the same15:26:22
@rezmason:matrix.orgrezmasonOkay, good!15:27:03
@rezmason:matrix.orgrezmasonI prefer domesticated goose chases to wild goose chases15:27:16
@kainino:matrix.orgkainino
In reply to @rezmason:matrix.org
sent an image.
Looks like it could maybe be sampling at pixel corners instead of pixel centers?
18:59:08
@kainino:matrix.orgkaininoPerhaps check the interpolation modes on any vertex-fragment varyings that you use to sample https://gpuweb.github.io/gpuweb/wgsl/#interpolation18:59:23
Unknown widget removed by @kainino:matrix.orgkainino19:08:40
@crunklord420:matrix.kiwifarms.net@crunklord420:matrix.kiwifarms.net left the room.19:18:57
@friedrich:matrix.kiwifarms.net@friedrich:matrix.kiwifarms.net left the room.19:19:04
27 Sep 2022
@nguyen-hoang-ngan:matrix.orgngan-nguyen joined the room.11:02:05
@nguyen-hoang-ngan:matrix.orgngan-nguyen changed their display name from Ngân Nguyễn Hoàng to ngan-nguyen.11:05:33
28 Sep 2022
@cypherpunks0x:matrix.org@cypherpunks0x:matrix.org changed their display name from Cypherpunks0x to Cypherpunks0x #Cypherpunks0x:matrix.org.00:30:51
@cypherpunks0x:matrix.org@cypherpunks0x:matrix.org set a profile picture.00:57:27
@cypherpunks0x:matrix.org@cypherpunks0x:matrix.org left the room.00:58:07

There are no newer messages yet.


Back to Room List