Skip to content

Commit

Permalink
Release 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
kvark committed Dec 17, 2021
1 parent ec1d022 commit 327bf1b
Show file tree
Hide file tree
Showing 8 changed files with 117 additions and 47 deletions.
73 changes: 71 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,79 @@
# Change Log

## wgpu-hal-0.11.2 (2021-10-12)
## wgpu-0.12 (2021-12-16)
- API:
- `MULTIVIEW` feature
- `DEPTH_CLIP_CONTROL` feature to replace the old `DEPTH_CLAMP`
- `TEXTURE_FORMAT_16BIT_NORM` feature
- push/pop error scopes on the device
- more limits
- `SamplerBindingType` instead of booleans
- sampler arrays are supported by `TEXTURE_BINDING_ARRAY` feature
- "glsl" feature for accepting GLSL shader code
- enforced MSRV-1.53
- correctness:
- textures are zero-initialized
- lots and lots of fixes
- validation:
- match texture-sampler pairs
- check `min_binding_size` late at draw
- check formats to match in `copy_texture_to_texture`
- allow `strip_index_format` to be none if unused
- check workgroup sizes and counts
- shaders:
- please refer to [naga-0.8 changelog](https://github.com/gfx-rs/naga/pull/1610/files)
- nice error messages

### wgpu-core-0.11.3, wgpu-hal-0.11.5, wgpu-0.11.1 (2021-12-01)
- Core:
- validate device descriptor before actually creating it
- fix validation of texture-sampler pairs
- Vulkan:
- fix running on Vulkan-1.1 instance
- improve detection of workaround for Intel+Nvidia on Linux
- fix resource limits on Vulkan-1.2
- fix the check for storage buffer requirement
- change internal semaphore logic to work around Linux+Intel bugs
- fix enabling extension-provided features
- GLES:
- fix running on old and bogus drivers
- fix stale samplers on bindings change
- fix integer textures
- fix querying work group parameters
- fix stale PBO bindings caused by resource copies
- fix rendering to cubemap faces
- fix `Rgba16Float` format
- fix stale vertex attributes when changing the pipeline
- Metal:
- fix window resizing for running in multiple processes
- Web:
- fix `set_index_buffer` and `set_vertex_buffer` to have optional sizes

### wgpu-core-0.11.2, wgpu-hal-0.11.4 (2021-10-22)
- fix buffer transition barriers
- Metal:
- disable RW buffers on macOS 10.11
- fix memory leaks in render pass descriptor
- WebGL:
- fix surface reconfiguration
- GLES:
- fix mapping when persistent mapping isn't supported
- allow presentation in Android emulator
- fix sRGB attributes on EGL-1.4 contexts

### wgpu-hal-0.11.3 (2021-10-16)
- GL:
- fix mapping flags and buffer initialization
- fix context creation when sRGB is available

## wgpu-core-0.11.1 (2021-10-15)
- fix bind group layout lifetime with regard to bind groups

### wgpu-hal-0.11.2 (2021-10-12)
- GL/WebGL: fix vertex buffer bindings with non-zero first instance
- DX12: fix cube array view construction

## wgpu-hal-0.11.1 (2021-10-09)
### wgpu-hal-0.11.1 (2021-10-09)
- Vulkan: fix NV optimus detection on Linux
- GL:
- fix indirect dispatch buffers
Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ default-members = ["wgpu", "wgpu-hal", "wgpu-info"]
#gpu-alloc = { path = "../gpu-alloc/gpu-alloc" }

[patch.crates-io]
#naga = { path = "../naga" }
#glow = { path = "../glow" }
#metal = { path = "../metal-rs" }
#web-sys = { path = "../wasm-bindgen/crates/web-sys" }
Expand Down
20 changes: 10 additions & 10 deletions wgpu-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wgpu-core"
version = "0.11.0"
version = "0.12.0"
authors = ["wgpu developers"]
edition = "2018"
description = "WebGPU core logic on wgpu-hal"
Expand Down Expand Up @@ -37,33 +37,33 @@ smallvec = "1"
thiserror = "1"

[dependencies.naga]
git = "https://github.com/gfx-rs/naga"
rev = "8ffd6ba"
#version = "0.7"
#git = "https://github.com/gfx-rs/naga"
#rev = "8ffd6ba"
version = "0.8"
features = ["span", "validate", "wgsl-in"]

[dependencies.wgt]
path = "../wgpu-types"
package = "wgpu-types"
version = "0.11"
version = "0.12"

[dependencies.hal]
path = "../wgpu-hal"
package = "wgpu-hal"
version = "0.11"
version = "0.12"

[target.'cfg(target_arch = "wasm32")'.dependencies]
hal = { path = "../wgpu-hal", package = "wgpu-hal", version = "0.11", features = ["gles"] }
hal = { path = "../wgpu-hal", package = "wgpu-hal", version = "0.12", features = ["gles"] }

[target.'cfg(all(not(target_arch = "wasm32"), any(target_os = "ios", target_os = "macos")))'.dependencies]
hal = { path = "../wgpu-hal", package = "wgpu-hal", version = "0.11", features = ["metal"] }
hal = { path = "../wgpu-hal", package = "wgpu-hal", version = "0.12", features = ["metal"] }
#Note: could also enable "vulkan" for Vulkan Portability

[target.'cfg(all(not(target_arch = "wasm32"), unix, not(target_os = "ios"), not(target_os = "macos")))'.dependencies]
hal = { path = "../wgpu-hal", package = "wgpu-hal", version = "0.11", features = ["vulkan", "gles", "renderdoc"] }
hal = { path = "../wgpu-hal", package = "wgpu-hal", version = "0.12", features = ["vulkan", "gles", "renderdoc"] }

[target.'cfg(all(not(target_arch = "wasm32"), windows))'.dependencies]
hal = { path = "../wgpu-hal", package = "wgpu-hal", version = "0.11", features = ["vulkan", "dx12", "renderdoc"] }
hal = { path = "../wgpu-hal", package = "wgpu-hal", version = "0.12", features = ["vulkan", "dx12", "renderdoc"] }

[build-dependencies]
cfg_aliases = "0.1"
18 changes: 9 additions & 9 deletions wgpu-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wgpu-hal"
version = "0.11.2"
version = "0.12.0"
authors = ["wgpu developers"]
edition = "2018"
description = "WebGPU hardware abstraction layer"
Expand Down Expand Up @@ -43,7 +43,7 @@ gpu-descriptor = { version = "0.2", optional = true }
inplace_it = { version ="0.3.3", optional = true }

# backend: Gles
glow = { git = "https://github.com/grovesNL/glow", rev = "5851ca6", optional = true }
glow = { version = "0.11.1", optional = true }

# backend: Dx12
bit-set = { version = "0.5", optional = true }
Expand All @@ -52,7 +52,7 @@ range-alloc = { version = "0.1", optional = true }
[dependencies.wgt]
package = "wgpu-types"
path = "../wgpu-types"
version = "0.11"
version = "0.12"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
egl = { package = "khronos-egl", version = "4.1", features = ["dynamic"], optional = true }
Expand All @@ -74,14 +74,14 @@ web-sys = { version = "0.3", features = ["Window", "HtmlCanvasElement", "WebGl2R
js-sys = { version = "0.3" }

[dependencies.naga]
git = "https://github.com/gfx-rs/naga"
rev = "8ffd6ba"
#version = "0.7"
#git = "https://github.com/gfx-rs/naga"
#rev = "8ffd6ba"
version = "0.8"

[dev-dependencies.naga]
git = "https://github.com/gfx-rs/naga"
rev = "8ffd6ba"
#version = "0.7"
#git = "https://github.com/gfx-rs/naga"
#rev = "8ffd6ba"
version = "0.8"
features = ["wgsl-in"]

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions wgpu-info/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wgpu-info"
version = "0.11.0"
version = "0.12.0"
authors = ["wgpu developers"]
edition = "2018"
description = "Adapter information and per-adapter test program"
Expand All @@ -11,4 +11,4 @@ license = "MIT OR Apache-2.0"

[dependencies]
env_logger = "0.8"
wgpu = { version = "0.11", path = "../wgpu" }
wgpu = { version = "0.12", path = "../wgpu" }
2 changes: 1 addition & 1 deletion wgpu-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wgpu-types"
version = "0.11.0"
version = "0.12.0"
authors = ["wgpu developers"]
edition = "2018"
description = "WebGPU types"
Expand Down
30 changes: 15 additions & 15 deletions wgpu/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "wgpu"
version = "0.11.0"
version = "0.12.0"
authors = ["wgpu developers"]
edition = "2018"
description = "Rusty WebGPU API wrapper"
homepage = "https://wgpu.rs/"
repository = "https://github.com/gfx-rs/wgpu/tree/v0.10"
repository = "https://github.com/gfx-rs/wgpu/tree/v0.12"
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
exclude = [
Expand Down Expand Up @@ -87,25 +87,25 @@ webgl = ["wgc"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgc]
package = "wgpu-core"
path = "../wgpu-core"
version = "0.11"
version = "0.12"
features = ["raw-window-handle"]

[target.'cfg(target_arch = "wasm32")'.dependencies.wgc]
package = "wgpu-core"
path = "../wgpu-core"
version = "0.11"
version = "0.12"
features = ["raw-window-handle"]
optional = true

[dependencies.wgt]
package = "wgpu-types"
path = "../wgpu-types"
version = "0.11"
version = "0.12"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hal]
package = "wgpu-hal"
path = "../wgpu-hal"
version = "0.11"
version = "0.12"

[dependencies]
arrayvec = "0.7"
Expand Down Expand Up @@ -135,22 +135,22 @@ pollster = "0.2"
env_logger = "0.8"

[dependencies.naga]
git = "https://github.com/gfx-rs/naga"
rev = "8ffd6ba"
#version = "0.7"
#git = "https://github.com/gfx-rs/naga"
#rev = "8ffd6ba"
version = "0.8"
optional = true

# used to test all the example shaders
[dev-dependencies.naga]
git = "https://github.com/gfx-rs/naga"
rev = "8ffd6ba"
#version = "0.7"
#git = "https://github.com/gfx-rs/naga"
#rev = "8ffd6ba"
version = "0.8"
features = ["wgsl-in"]

[target.'cfg(target_arch = "wasm32")'.dependencies.naga]
git = "https://github.com/gfx-rs/naga"
rev = "8ffd6ba"
#version = "0.7"
#git = "https://github.com/gfx-rs/naga"
#rev = "8ffd6ba"
version = "0.8"
features = ["wgsl-out"]

[target.'cfg(target_arch = "wasm32")'.dependencies]
Expand Down

0 comments on commit 327bf1b

Please sign in to comment.