From f8f3c8daa339f5033cba40c203e06bcf8a744715 Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Thu, 2 Jan 2020 01:20:44 -0500 Subject: [PATCH] [rs] Update to latest wgpu c293d6dcea0170bfa3835cfbd919f300560e0da6 --- wgpu/Cargo.toml | 6 ++++-- wgpu/examples/cube/main.rs | 6 +++--- wgpu/examples/mipmap/main.rs | 6 +++--- wgpu/examples/skybox/main.rs | 6 +++--- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index 1b2827ace0..edac9b9eea 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -27,13 +27,15 @@ vulkan = ["wgn/vulkan-portability"] package = "wgpu-native" version = "0.4" git = "https://github.com/gfx-rs/wgpu" -rev = "b51053dc2dc3bbe9b2ba050fde42eeb6405fe092" +rev = "c293d6dcea0170bfa3835cfbd919f300560e0da6" +#path = "../wgpu/wgpu-native" [dependencies.wgc] package = "wgpu-core" version = "0.1" git = "https://github.com/gfx-rs/wgpu" -rev = "b51053dc2dc3bbe9b2ba050fde42eeb6405fe092" +rev = "c293d6dcea0170bfa3835cfbd919f300560e0da6" +#path = "../wgpu/wgpu-core" [dependencies] arrayvec = "0.5" diff --git a/wgpu/examples/cube/main.rs b/wgpu/examples/cube/main.rs index e629efae31..8eef61ebc7 100644 --- a/wgpu/examples/cube/main.rs +++ b/wgpu/examples/cube/main.rs @@ -187,9 +187,9 @@ impl framework::Example for Example { mip_level: 0, array_layer: 0, origin: wgpu::Origin3d { - x: 0.0, - y: 0.0, - z: 0.0, + x: 0, + y: 0, + z: 0, }, }, texture_extent, diff --git a/wgpu/examples/mipmap/main.rs b/wgpu/examples/mipmap/main.rs index 2e63aa2c6d..dbc2f3c84c 100644 --- a/wgpu/examples/mipmap/main.rs +++ b/wgpu/examples/mipmap/main.rs @@ -273,9 +273,9 @@ impl framework::Example for Example { mip_level: 0, array_layer: 0, origin: wgpu::Origin3d { - x: 0.0, - y: 0.0, - z: 0.0, + x: 0, + y: 0, + z: 0, }, }, texture_extent, diff --git a/wgpu/examples/skybox/main.rs b/wgpu/examples/skybox/main.rs index 89ca3a97ca..e83ff2cc89 100644 --- a/wgpu/examples/skybox/main.rs +++ b/wgpu/examples/skybox/main.rs @@ -209,9 +209,9 @@ impl framework::Example for Skybox { mip_level: 0, array_layer: i as u32, origin: wgpu::Origin3d { - x: 0.0, - y: 0.0, - z: 0.0, + x: 0, + y: 0, + z: 0, }, }, texture_extent,