From 713f7fd7f2198805ab6f493de90059a22c788a99 Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Thu, 7 Oct 2021 18:52:56 -0400 Subject: [PATCH] Changelog update for 0.11 --- .github/workflows/cts.yml | 4 +- CHANGELOG.md | 109 +++++++++++++++++---- README.md | 4 +- player/tests/data/clear-buffer-texture.ron | 2 +- run-wasm-example.sh | 6 +- 5 files changed, 97 insertions(+), 28 deletions(-) diff --git a/.github/workflows/cts.yml b/.github/workflows/cts.yml index 2bfe579f2..8fd788c7d 100644 --- a/.github/workflows/cts.yml +++ b/.github/workflows/cts.yml @@ -39,7 +39,7 @@ jobs: uses: actions/checkout@v2 with: path: wgpu - + - name: checkout cts run: | git clone https://github.com/gpuweb/cts.git @@ -79,7 +79,7 @@ jobs: - name: build CTS runner run: | - cargo build --manifest-path wgpu/cts_runner/Cargo.toml + cargo build --manifest-path wgpu/cts_runner/Cargo.toml - name: run CTS shell: bash diff --git a/CHANGELOG.md b/CHANGELOG.md index 95432c1c3..cbc0a559e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,80 @@ # Change Log -## TBD +## wgpu-0.11 (2021-10-07) + - Infrastructure: + - Deno WebGPU plugin is a part of the repository + - WebGPU CTS is ran on CI via Deno + - API: + - initial WebGL support + - `SwapchainFrame` is removed. `SurfaceTexture::present()` needs to be called instead of dropping. + - better SPIR-V control flow processing + - ability to request a software (fallback) adapter + - new limits for `min_uniform_buffer_offset_alignment` and `min_storage_buffer_offset_alignment` + - features: + - new `PARTIALLY_BOUND_BINDING_ARRAY` + - `NON_FILL_POLYGON_MODE` is split into `POLYGON_MODE_LINE` and `POLYGON_MODE_POINT` + - fixes: + - many shader-related fixes in Naga-0.7 + - fix a panic in resource cleanup happening when they are dropped on another thread + - Vulkan: + - create SPIR-V per entry point to work around driver bugs + - expose higher descriptor limits based on descriptor indexing capabilities + - GL and Vulkan: + - Fix renderdoc device pointers + - optimization: + - on Vulkan, bounds checks are omitted if the platform can do them natively + +### wgpu-core-0.10.4, wgpu-0.10.2 (2021-09-23) + - fix `write_texture` for array textures + - fix closing an encoder on validation error + - expose Metal surface creation + - panic with an actual error message in the default handler + +### wgpu-hal-0.10.7 (2021-09-14) + - Metal: + - fix stencil back-face state + - fix the limit on command buffer count + +### wgpu-hal-0.10.6 (2021-09-12) + - Metal: + - fix stencil operations + - fix memory leak on M1 when out of focus + - fix depth clamping checks + - fix unsized storage buffers beyond the first + +### wgpu-core-0.10.3, wgpu-hal-0.10.4 (2021-09-08) + - Vulkan: + - fix read access barriers for writable storage buffers + - fix shaders using cube array textures + - work around Linux Intel+Nvidia driver conflicts + - work around Adreno bug with `OpName` + - DX12: + - fix storage binding offsets + - Metal: + - fix compressed texture copies + +### wgpu-core-0.10.2, wgpu-hal-0.10.3 (2021-09-01) + - All: + - fix querying the size of storage textures + - Vulkan: + - use render pass labels + - Metal: + - fix moving the surface between displays + - DX12: + - enable BC compressed textures + - GL: + - fix vertex-buffer and storage related limits + +### wgpu-core-0.10.1, wgpu-hal-0.10.2 (2021-08-24) - All: - expose more formats via adapter-specific feature - fix creation of depth+stencil views + - validate cube textures to not be used as storage + - fix mip level count check for storage textures - Metal: - fix usage of work group memory + - DX12: + - critical fix of pipeline layout ## v0.10 (2021-08-18) - Infrastructure: @@ -27,10 +96,10 @@ - Fixed: - `Device::create_query_set` would return an error when creating exactly `QUERY_SET_MAX_QUERIES` (8192) queries. Now it only returns an error when trying to create *more* than `QUERY_SET_MAX_QUERIES` queries. -## wgpu-core-0.9.2 +### wgpu-core-0.9.2 - fix `Features::TEXTURE_SPECIFIC_FORMAT_FEATURES` not being supported for rendertargets -## wgpu-core-0.9.1 (2021-07-13) +### wgpu-core-0.9.1 (2021-07-13) - fix buffer inits delayed by a frame - fix query resolves to initialize buffers - fix pipeline statistics stride @@ -73,10 +142,10 @@ - Add missing extern "C" in wgpu-core on `wgpu_render_pass_execute_bundles` - Fix incorrect function name `wgpu_render_pass_bundle_indexed_indirect` to `wgpu_render_bundle_draw_indexed_indirect`. -## wgpu-types-0.8.1 (2021-06-08) +### wgpu-types-0.8.1 (2021-06-08) - fix dynamic stencil reference for Replace ops -## v0.8.1 (2021-05-06) +### v0.8.1 (2021-05-06) - fix SPIR-V generation from WGSL, which was broken due to "Kernel" capability - validate buffer storage classes - Added support for storage texture arrays for Vulkan and Metal. @@ -120,7 +189,7 @@ - interpolation qualifiers - allow vertex components to be underspecified -## wgpu-core-0.7.1 (2021-02-25) +### wgpu-core-0.7.1 (2021-02-25) - expose `wgc::device::queue` sub-module in public - fix the indexed buffer check - fix command allocator race condition @@ -179,28 +248,28 @@ - bind group matching to the layout - experimental shader interface matching with Naga -## wgpu-core-0.5.6 (2020-07-09) +### wgpu-core-0.5.6 (2020-07-09) - add debug markers support -## wgpu-core-0.5.5 (2020-05-20) +### wgpu-core-0.5.5 (2020-05-20) - fix destruction of adapters, swap chains, and bind group layouts - fix command pool leak with temporary threads - improve assertion messages - implement `From` for `TextureComponentType` -## wgpu-core-0.5.4 (2020-04-24) +### wgpu-core-0.5.4 (2020-04-24) - fix memory management of staging buffers -## wgpu-core-0.5.3 (2020-04-18) +### wgpu-core-0.5.3 (2020-04-18) - fix reading access to storage textures - another fix to layout transitions for swapchain images -## wgpu-core-0.5.2 (2020-04-15) +### wgpu-core-0.5.2 (2020-04-15) - fix read-only storage flags - fix pipeline layout life time - improve various assert messages -## wgpu-core-0.5.1 (2020-04-10) +### wgpu-core-0.5.1 (2020-04-10) - fix tracking of swapchain images that are used multiple times in a command buffer - fix tracking of initial usage of a resource across a command buffer @@ -225,13 +294,13 @@ - unmapping dropped buffers - better error messages on misused swapchain frames -## wgpu-core-0.4.3 (2020-01-20) +### wgpu-core-0.4.3 (2020-01-20) - improved swap chain error handling -## wgpu-core-0.4.2 (2019-12-15) +### wgpu-core-0.4.2 (2019-12-15) - fixed render pass transitions -## wgpu-core-0.4.1 (2019-11-28) +### wgpu-core-0.4.1 (2019-11-28) - fixed depth/stencil transitions - fixed dynamic offset iteration @@ -245,10 +314,10 @@ - Validation: - buffer and texture usage -## wgpu-core-0.3.3 (2019-08-22) +### wgpu-core-0.3.3 (2019-08-22) - fixed instance creation on Windows -## wgpu-core-0.3.1 (2019-08-21) +### wgpu-core-0.3.1 (2019-08-21) - fixed pipeline barriers that aren't transitions ## v0.3 (2019-08-21) @@ -271,16 +340,16 @@ - bind group buffer ranges - required stencil reference, blend color -## wgpu-core-0.2.6 (2019-04-04) +### wgpu-core-0.2.6 (2019-04-04) - fixed frame acquisition GPU waits -## wgpu-core-0.2.5 (2019-03-31) +### wgpu-core-0.2.5 (2019-03-31) - fixed submission tracking - added support for blend colors - fixed bind group compatibility at the gfx-hal level - validating the bind groups and blend colors -## wgpu-core-0.2.3 (2019-03-20) +### wgpu-core-0.2.3 (2019-03-20) - fixed vertex format mapping - fixed building with "empty" backend on Windows - bumped the default descriptor pool size diff --git a/README.md b/README.md index a2c561704..575b0a5d3 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ We have multiple methods of testing, each of which tests different qualities abo ### Core Test Infrastructure -All framework based examples have image comparison tested against their screenshot. +All framework based examples have image comparison tested against their screenshot. To run the test suite on the default device: @@ -142,7 +142,7 @@ To run a given set of tests: cargo run --manifest-path ../cts_runner/Cargo.toml --frozen -- ./tools/run_deno --verbose "" ``` -To find the full list of tests, go to the [online cts viewer](https://gpuweb.github.io/cts/standalone/?runnow=0&worker=0&debug=0&q=webgpu:*). +To find the full list of tests, go to the [online cts viewer](https://gpuweb.github.io/cts/standalone/?runnow=0&worker=0&debug=0&q=webgpu:*). The list of currently enabled CTS tests can be found [here](./cts_runner/test.lst). diff --git a/player/tests/data/clear-buffer-texture.ron b/player/tests/data/clear-buffer-texture.ron index 1ec358d7c..c98ca110c 100644 --- a/player/tests/data/clear-buffer-texture.ron +++ b/player/tests/data/clear-buffer-texture.ron @@ -118,7 +118,7 @@ depth_or_array_layers: 1, ), ), - // Partial clear to proove + // Partial clear to prove ClearBuffer( dst: Id(1, 1, Empty), offset: 4, diff --git a/run-wasm-example.sh b/run-wasm-example.sh index 403261635..d2dd3acc7 100755 --- a/run-wasm-example.sh +++ b/run-wasm-example.sh @@ -17,16 +17,16 @@ SERVE_ARGS="" if which basic-http-server; then SERVE_CMD="basic-http-server" SERVE_ARGS="target/wasm-examples/$1 -a 127.0.0.1:1234" -elif which miniserve && python3 -m http.server --help > /dev/null; then +elif which miniserve && python3 -m http.server --help > /dev/null; then SERVE_CMD="miniserve" SERVE_ARGS="target/wasm-examples/$1 -p 1234 --index index.html" -elif python3 -m http.server --help > /dev/null; then +elif python3 -m http.server --help > /dev/null; then SERVE_CMD="python3" SERVE_ARGS="-m http.server --directory target/wasm-examples/$1 1234" fi # Exit if we couldn't find a tool to serve the example with -if [ "$SERVE_CMD" = "" ]; then +if [ "$SERVE_CMD" = "" ]; then echo "Couldn't find a utility to use to serve the example web page. You can serve the `target/wasm-examples/$1` folder yourself using any simple static http file server." fi