!XFRnMvAfptAHthwBCx:matrix.org

Wgpu Users

597 Members
Bevy 0.6 is out: https://bevyengine.org/news/bevy-0-6/31 Servers

Load older messages


SenderMessageTime
17 May 2022
@r4tty:matrix.orgryan hmm. I forced it to the latest naga, it's better but now I get textureSize(usampler2DArray) even though I'm using a textureDimensions(texture_2d_array<f32>) 21:53:50
@r4tty:matrix.orgryan * hmm. I forced it to the latest naga, it's better but now I get unable to find compatible overloaded function textureSize(usampler2DArray) even though I'm using a textureDimensions(texture_2d_array<f32>) 21:54:15
@californiatokens:matrix.orgcaliforniatokens joined the room.22:55:23
@kvark:matrix.orgkvarkLooks like a glsl-out bug23:45:33
18 May 2022
@r4tty:matrix.orgryanI find all the bugs00:35:45
@californiatokens:matrix.orgcaliforniatokensRedacted or Malformed Event00:36:21
@r4tty:matrix.orgryanSeems nowhere is free of scammers00:38:05
@cwfitzgerald:matrix.orgcwfitzgerald (wgpu, rend3) banned @californiatokens:matrix.orgcaliforniatokens (Spam).00:38:21
@cwfitzgerald:matrix.orgcwfitzgerald (wgpu, rend3)Nope00:40:14
@r4tty:matrix.orgryanRedacted or Malformed Event02:17:29
@judithbnks:matrix.orgjudithbnks joined the room.05:00:59
@judithbnks:matrix.orgjudithbnks left the room.10:32:32
@maxammann:matrix.orgmaxammann Is copyExternalImageToTexture already supported in wgpu? I did not find references to this API in the API docs or the Github 11:15:14
@felixfaire:matrix.orgfelixfairei asked this recently and i don't believe it is yet, we may have to wait for it's implementation in Firefox (afaik)11:32:26
@billykin:matrix.orgbillykin joined the room.12:38:34
@robtfm:matrix.orgrobtfm joined the room.13:20:46
@robtfm:matrix.orgrobtfmhello, i'm looking at doing occlusion queries but it looks like wgpu doesn't expose them. have i missed it, or should i maybe just use pipeline statistics queries with fragment counts?13:23:10
@cwfitzgerald:matrix.orgcwfitzgerald (wgpu, rend3)
In reply to @felixfaire:matrix.org
i asked this recently and i don't believe it is yet, we may have to wait for it's implementation in Firefox (afaik)
maxammann: fwiw, if someone wants to add this it's totally fine, it's wasm only anyway, one of us likely won't bother until ff supports it, so if you need it, it shouldn't be that hard to add
14:01:00
@felixfaire:matrix.orgfelixfairethat's fair enough, i was wondering how a wasm only interface would work alongside the rest of the native apis. are there other examples of this? also it would be great to know what the webgl2 equivalent might be (if at all) 14:23:49
@cwfitzgerald:matrix.orgcwfitzgerald (wgpu, rend3)
In reply to @felixfaire:matrix.org
that's fair enough, i was wondering how a wasm only interface would work alongside the rest of the native apis. are there other examples of this? also it would be great to know what the webgl2 equivalent might be (if at all)
We don't have an api like this really, though we do have native only interfaces, we just #[cfg] them
15:31:04
@cwfitzgerald:matrix.orgcwfitzgerald (wgpu, rend3)I didn't think about webgl2, we would probably just need to pass through the copyFromExternalTexture all the way to the hal, and then throw that into texImage*D's HTMLCanvasElement/IMageBitmap overload15:33:18
@cwfitzgerald:matrix.orgcwfitzgerald (wgpu, rend3)shouldn't be that difficult to implement either15:33:31
@cwfitzgerald:matrix.orgcwfitzgerald (wgpu, rend3)texImage*D supports more everything copyExternalTextureToTexture does except offscreen canvases15:34:29
@cwfitzgerald:matrix.orgcwfitzgerald (wgpu, rend3) * texImage*D supports everything copyExternalTextureToTexture does except offscreen canvases 15:35:02
@billykin:matrix.orgbillykin left the room.16:45:34
@jasperrlz:matrix.orgjasperrlz
In reply to @robtfm:matrix.org
hello, i'm looking at doing occlusion queries but it looks like wgpu doesn't expose them. have i missed it, or should i maybe just use pipeline statistics queries with fragment counts?
They're in the spec, but it's possible wgpu doesn't have support for them yet
16:52:10
@cwfitzgerald:matrix.orgcwfitzgerald (wgpu, rend3)we don't support occlusion queries yet16:52:45
@cwfitzgerald:matrix.orgcwfitzgerald (wgpu, rend3)just not implemented, most of the infra should be there though16:52:53
@robtfm:matrix.orgrobtfmthanks, i'll try with frag counts for now. i had a look through the pipeline statistics code and it does look like occlusion queries would be very similar so i might try to add18:11:34
@logo4poop:matrix.orglogo joined the room.19:05:15

There are no newer messages yet.


Back to Room List