Skip to content

Commit

Permalink
Update naga to 0e3fbc8
Browse files Browse the repository at this point in the history
  • Loading branch information
kvark committed Oct 7, 2021
1 parent 5092fb7 commit dfa4948
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
4 changes: 3 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions wgpu-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ thiserror = "1"

[dependencies.naga]
git = "https://github.com/gfx-rs/naga"
rev = "52d74e9"
rev = "0e3fbc8"
#version = "0.6"
features = ["wgsl-in"]
features = ["validate", "wgsl-in"]

[dependencies.wgt]
path = "../wgpu-types"
Expand Down
2 changes: 1 addition & 1 deletion wgpu-core/src/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ impl Interface {
list: &mut Vec<Varying>,
binding: Option<&naga::Binding>,
ty: naga::Handle<naga::Type>,
arena: &naga::Arena<naga::Type>,
arena: &naga::UniqueArena<naga::Type>,
) {
let numeric_ty = match arena[ty].inner {
naga::TypeInner::Scalar { kind, width } => NumericType {
Expand Down
4 changes: 2 additions & 2 deletions wgpu-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ core-graphics-types = "0.1"

[dependencies.naga]
git = "https://github.com/gfx-rs/naga"
rev = "52d74e9"
rev = "0e3fbc8"
#version = "0.6"

[dev-dependencies.naga]
git = "https://github.com/gfx-rs/naga"
rev = "52d74e9"
rev = "0e3fbc8"
#version = "0.6"
features = ["wgsl-in"]

Expand Down
1 change: 1 addition & 0 deletions wgpu-hal/src/vulkan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ pub struct CommandBuffer {
}

#[derive(Debug)]
#[allow(clippy::large_enum_variant)]
pub enum ShaderModule {
Raw(vk::ShaderModule),
Intermediate {
Expand Down
4 changes: 2 additions & 2 deletions wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ env_logger = "0.8"

[dependencies.naga]
git = "https://github.com/gfx-rs/naga"
rev = "52d74e9"
rev = "0e3fbc8"
#version = "0.6"
optional = true

# used to test all the example shaders
[dev-dependencies.naga]
git = "https://github.com/gfx-rs/naga"
rev = "52d74e9"
rev = "0e3fbc8"
#version = "0.6"
features = ["wgsl-in"]

Expand Down

0 comments on commit dfa4948

Please sign in to comment.