Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald committed Feb 5, 2025
1 parent 8a12011 commit dcc6161
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions naga/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,7 @@ hexf-parse = { version = "0.2.1", optional = true }
unicode-xid = { version = "0.2.6", optional = true }
# TODO: Use `half` directly again after <https://github.com/starkat99/half-rs/pull/111> is released
# upstream.
half = { workspace = true, features = [
"arbitrary",
"num-traits",
] }
half = { workspace = true, features = ["arbitrary", "num-traits"] }
num-traits = "0.2"

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion wgpu-hal/src/dx12/shader_compilation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ pub(super) fn compile_dxc(
let raw_ep = OPCWSTR::new(raw_ep);
let full_stage = OPCWSTR::new(full_stage);

let mut compile_args = arrayvec::ArrayVec::<PCWSTR, 12>::new_const();
let mut compile_args = arrayvec::ArrayVec::<PCWSTR, 13>::new_const();

if let Some(source_name) = source_name.as_ref() {
compile_args.push(source_name.ptr())
Expand Down

0 comments on commit dcc6161

Please sign in to comment.