Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
429 changes: 262 additions & 167 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@ cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]

[dependencies]
async-trait = "0.1"
bytemuck = { version = "1.24", features = [
bytemuck = { version = "1.25", features = [
"derive",
"extern_crate_alloc",
"min_const_generics",
] }
flate2 = "1.1"
glam = { version = "0.30", features = ["bytemuck"] }
glam = { version = "0.32", features = ["bytemuck"] }
half = { version = "2.7", features = ["bytemuck"] }
itertools = "0.14"
log = "0.4"
oneshot = "0.1"
oneshot = { version = "0.2", features = ["async", "std"] }
paste = "1.0"
ply-rs = "0.1"
thiserror = "2.0"
wgpu = "28.0"
wgpu = "29.0"
wesl = "0.3"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion coverage/badge.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"schemaVersion": 1,
"label": "coverage",
"message": "98%",
"message": "99%",
"color": "brightgreen"
}
4,963 changes: 2,478 additions & 2,485 deletions coverage/lcov.info

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion examples/read_ply.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ async fn main() {
.nth(1)
.unwrap_or_else(|| "examples/model.ply".to_string());

let instance = wgpu::Instance::new(&wgpu::InstanceDescriptor::default());
let instance =
wgpu::Instance::new(wgpu::InstanceDescriptor::new_without_display_handle_from_env());

let adapter = instance
.request_adapter(&wgpu::RequestAdapterOptions::default())
Expand Down
3 changes: 2 additions & 1 deletion examples/read_spz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ async fn main() {
.nth(1)
.unwrap_or_else(|| "examples/model.spz".to_string());

let instance = wgpu::Instance::new(&wgpu::InstanceDescriptor::default());
let instance =
wgpu::Instance::new(wgpu::InstanceDescriptor::new_without_display_handle_from_env());

let adapter = instance
.request_adapter(&wgpu::RequestAdapterOptions::default())
Expand Down
2 changes: 1 addition & 1 deletion src/compute_bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ impl ComputeBundle<()> {
);
let pipeline_layout = device.create_pipeline_layout(&wgpu::PipelineLayoutDescriptor {
label: Some(label_for_components!(label, "Pipeline Layout").as_str()),
bind_group_layouts: &bind_group_layouts.iter().collect::<Vec<_>>(),
bind_group_layouts: &bind_group_layouts.iter().map(Some).collect::<Vec<_>>(),
..Default::default()
});

Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ pub use gaussian_config::*;
pub use source_format::*;

pub use glam;
pub use wesl;
pub use wgpu;
4 changes: 3 additions & 1 deletion tests/common/test_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ pub struct TestContext {
impl TestContext {
pub fn new() -> Self {
pollster::block_on(async {
let instance = wgpu::Instance::new(&wgpu::InstanceDescriptor::default());
let instance = wgpu::Instance::new(
wgpu::InstanceDescriptor::new_without_display_handle_from_env(),
);

let adapter = instance
.request_adapter(&wgpu::RequestAdapterOptions::default())
Expand Down
Loading