Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Layl Bongers
@layl_gitlab
Thought someone may enjoy seeing this
It doesn't embed but oh well
I made a little brush engine on top of WGPU
matrixbot
@matrixbot
yanchith ❤️
matrixbot
@matrixbot
Kangz Nice !
Dzmitry Malyshau
@kvark
neat!
Lukas Wirth
@Veykril
This message was deleted
Layl Bongers
@layl_gitlab
I've been trying to debug an issue relating to WGPU slowing down concurrent rendering to the lowest update rate window. I've got both a 144hz and 60hz screen so that made this issue jump out at me. I think I've found the issue though.
Am I right in thinking that, in swap_chain_present, if queue.present_surface blocks, it still has the write locks acquired and those will have other threads wait?
I've been confused about how the Tokens work so I wanted to verify
Dzmitry Malyshau
@kvark
yes, indeed! That's an interesting discovery
@layl_gitlab how do you feel about continuing on Matrix instead of here? We are moving to the Matrix
Layl Bongers
@layl_gitlab
Oh! Sure, one moment
matrixbot
@matrixbot
lijinlei @kvark if need to update an existing buffer every frame, map_write or copy_buffer_to_buffer which is the best choice?
as gpuweb docs mentioned, user can reusing upload buffers to reduces overhead, is it possible or appropriate in wgpu-rs?
Dzmitry Malyshau
@kvark
lijinlei: we moved to the matrix, btw
look up gfx or wgpu rooms and let's continue there!
to answer your question, re-using upload buffers is pretty much blocked on #9, so creating a new upload buffer and copying from it is the way to go, for now
Dzmitry Malyshau
@kvark
m4b: but this is very interesting, thanks for the link!
just some 4.5K lines of code, wooh
matrixbot
@matrixbot
m4b I’m so confused. I thought I was on the webgpu matrix... when I click that link in riot iOS app nothing happens 🤨
Dzmitry Malyshau
@kvark
maybe my link is wrong?
matrixbot
@matrixbot
m4b on ios app it would like, go into infinite loop, and would have to close; was able to join on laptop, but it also said when i clicked the link above, "room cannot be previewed, join anyway?"
m4b 🤷‍♂️
Dzmitry Malyshau
@kvark
damn, strange
I'm using it on iOS Riot
Tonis Anton
@tonis2
Is it possible to use sampler arrayswith webgpu-rs ? I am looking for a way, to push multiple textures with different sizes to Gpu.
Dzmitry Malyshau
@kvark
There are no texture/sampler arrays in the spec yet. Also, this room moved to #wgpu:matrix.org
Roman Frołow
@rofrol
Hello all
Roman Frołow
@rofrol
I have updated deps to winit 0.20 and now I see black background on X11 but it works on Windows 10 cbrewster/brewcode#1
Dzmitry Malyshau
@kvark
Hi! We are on #wgpu in Matrix
Next step would be getting gfx-rs master and trying the examples
Roman Frołow
@rofrol
They works
I have already converted sotrh.github.io to winit 0.20 up to tutorial 6 and all work
Dzmitry Malyshau
@kvark
what about wgpu-rs examples?
matrixbot
@matrixbot
rofrol They all work.
Dzmitry Malyshau
@kvark
Please use the #wgpu MATRIX room, not gitter mirror
matrixbot
@matrixbot
rofrol I am using through riot.im
Fabio Krapohl
@porky11_gitlab
In case someone is interested, I just fixed wgpu for scopes for most recent versions of wgpu and scopes
Dzmitry Malyshau
@kvark
Great! Beware though, latest wgpu requires that any resources you use in a pass are still alive at the end of a pass recording.
In Rust this is enforced by the type system for free.
Also, we have moved this room to #wgpu:matrix.org
matrixbot
@matrixbot
almarklein Hi! We've started building higher-level things (scene graph, render engine) on top of wgpu-py, and have some technical questions about implications of certain wgpu features. Where would be the best place to ask?
Dzmitry Malyshau
@kvark
Hi! This room is deprecated. We moved to #wgpu:matrix.org
baonghi1201
@baonghi1201
Hi, has anyone already try to run webgpu on IOS devices?
kvark
@kvark:matrix.org
[m]
@baonghi1201: hey! this room is deprecated, see the topic
banebyte
@banebyte
Hello. Are there any barriers in webgpu ? I wrote to storage texture using atomic operations. And sometimes they are not visible. Thanks.
ChosunOne
@ChosunOne
So I've finished the tutorial at https://sotrh.github.io/learn-wgpu, but now I want to render simple dots in 3d space whose movement follows some rules. What keywords do I need to search to find some good examples of what that entails?