!dSLljtUMNpdwwnkjGq:matrix.org

Portable Graphics in Rust

184 Members
https://community.mozilla.org/groups/rust-portable-graphics/29 Servers

Load older messages


SenderMessageTime
30 Jun 2020
@kvark:matrix.orgkvarkGL/GLES and D3D1103:16:40
@kvark:matrix.orgkvark
In reply to @cwfitzgerald:matrix.org
meh, d3d12-rs is a breaking change
that's sad, but fine. It's not a breaking change for gfx backends
03:17:02
@cwfitzgerald:matrix.orgcwfitzgeraldI had someone asking about what to use to target PSP03:17:59
@kvark:matrix.orgkvark let's wait for msiglreith to look at d3d12-rs side, so that all gfx backends are updated at once 03:19:45
@cwfitzgerald:matrix.orgcwfitzgeraldthat's fine, I'm not blocked on this at all03:20:03
@kvark:matrix.orgkvarkthanks!03:20:14
@gabrielmajeri:matrix.orggabrielmajeri kvark: would it be possible to release a new version of gfx-backend-empty on crates.io? 15:51:51
@gabrielmajeri:matrix.orggabrielmajeri I'm trying to implement fuzzing for gfx-memory but adding gfx-backend-empty from Git leads to troubles 15:52:18
@gabrielmajeri:matrix.orggabrielmajeri And unfortunately my attempts at using [patch] in Cargo.toml don't seem to work ☹️ 15:52:55
@cwfitzgerald:matrix.orgcwfitzgeralddid you also patch hal?15:56:43
@kvark:matrix.orgkvarkgabrielmajeri: do we have your changes on hal-0.5 branch?16:00:53
@kvark:matrix.orgkvark* gabrielmajeri: do we have your changes on hal-0.5 branch?16:02:37
@gabrielmajeri:matrix.orggabrielmajeri
In reply to @cwfitzgerald:matrix.org
did you also patch hal?

I've tried something like this

[dependencies]
libfuzzer-sys = "0.3"
gfx-memory = { path = ".." }
gfx-hal = { git = "https://github.com/gfx-rs/gfx", rev = "178bc111e50e0009e49424e27632030edb6502b2"  }
gfx-backend-empty = { git = "https://github.com/gfx-rs/gfx", rev = "178bc111e50e0009e49424e27632030edb6502b2" }

[patch.crates-io]
gfx-hal = { git = "https://github.com/gfx-rs/gfx", rev = "178bc111e50e0009e49424e27632030edb6502b2" }
16:04:07
@gabrielmajeri:matrix.orggabrielmajeri
In reply to @kvark:matrix.org
gabrielmajeri: do we have your changes on hal-0.5 branch?
No, as far as I can tell
16:04:32
@cwfitzgerald:matrix.orgcwfitzgerald patching things is really picky sometimes 16:05:10
@gabrielmajeri:matrix.orggabrielmajeri cwfitzgerald kvark wait, nevermind, I've cleaned everything and rebuilt and it seems to work now 16:05:34
@cwfitzgerald:matrix.orgcwfitzgeraldoh good :)16:05:49
@cwfitzgerald:matrix.orgcwfitzgerald * oh good :)16:05:51
@gabrielmajeri:matrix.orggabrielmajeri I've hit a snag again. Using cargo tree I can see gfx-memory needs a gfx-hal of version v0.5.3, but the version on the master branch is v0.5.0, so it won't patch it 16:31:14
@gabrielmajeri:matrix.orggabrielmajeri What is the process for getting the changes pushed to the hal-0.5 branch? 16:31:57
@kvark:matrix.orgkvarkMake a PR against that branch, add a commit that bumps the patch version and adds a short changelog entry16:37:28
@krupitskas:matrix.orgkrupitskasbtw when wgpu version will be updated? I want that stuff with debug markers) At least to 0.5.1 I've tried directly git adress for cargo but we have problems with gfx-hal dependency versions somewhere 17:31:45
@kvark:matrix.orgkvarkIf you make PRs of your stuff towards v0.5 branch, we can release these patches17:33:43
@krupitskas:matrix.orgkrupitskas * btw when wgpu version will be updated? I want that stuff with debug markers) At least to 0.5.1 I've tried directly git adress for cargo but we have problems with gfx-hal dependency versions somewhere 17:34:01
@kvark:matrix.orgkvarkAlso, this is gfx room:)17:36:05
@scott:perthchat.orgscott joined the room.21:04:58
@kvark:matrix.orgkvark gabrielmajeri: empty backend is published! 21:49:03
1 Jul 2020
@kvark:matrix.orgkvark

new XCode 12 has a few interesting features

Turn on Shader Validation when debugging your app to look for illegal memory access and other problems that can otherwise be difficult to debug

01:32:17
@kvark:matrix.orgkvark
Xcode analyzes the commands and provides a list of insights that describe potential issues you may want to investigate
01:32:31
2 Jul 2020
@lachlansneff:matrix.orgLachlan Sneff changed their display name from lachlansneff to Lachlan Sneff.20:40:48

There are no newer messages yet.


Back to Room List