mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Changelog update for 0.11
This commit is contained in:
parent
016b319b38
commit
713f7fd7f2
4
.github/workflows/cts.yml
vendored
4
.github/workflows/cts.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
path: wgpu
|
path: wgpu
|
||||||
|
|
||||||
- name: checkout cts
|
- name: checkout cts
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/gpuweb/cts.git
|
git clone https://github.com/gpuweb/cts.git
|
||||||
@ -79,7 +79,7 @@ jobs:
|
|||||||
|
|
||||||
- name: build CTS runner
|
- name: build CTS runner
|
||||||
run: |
|
run: |
|
||||||
cargo build --manifest-path wgpu/cts_runner/Cargo.toml
|
cargo build --manifest-path wgpu/cts_runner/Cargo.toml
|
||||||
|
|
||||||
- name: run CTS
|
- name: run CTS
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
109
CHANGELOG.md
109
CHANGELOG.md
@ -1,11 +1,80 @@
|
|||||||
# Change Log
|
# 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:
|
- All:
|
||||||
- expose more formats via adapter-specific feature
|
- expose more formats via adapter-specific feature
|
||||||
- fix creation of depth+stencil views
|
- fix creation of depth+stencil views
|
||||||
|
- validate cube textures to not be used as storage
|
||||||
|
- fix mip level count check for storage textures
|
||||||
- Metal:
|
- Metal:
|
||||||
- fix usage of work group memory
|
- fix usage of work group memory
|
||||||
|
- DX12:
|
||||||
|
- critical fix of pipeline layout
|
||||||
|
|
||||||
## v0.10 (2021-08-18)
|
## v0.10 (2021-08-18)
|
||||||
- Infrastructure:
|
- Infrastructure:
|
||||||
@ -27,10 +96,10 @@
|
|||||||
- Fixed:
|
- 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.
|
- `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
|
- 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 buffer inits delayed by a frame
|
||||||
- fix query resolves to initialize buffers
|
- fix query resolves to initialize buffers
|
||||||
- fix pipeline statistics stride
|
- fix pipeline statistics stride
|
||||||
@ -73,10 +142,10 @@
|
|||||||
- Add missing extern "C" in wgpu-core on `wgpu_render_pass_execute_bundles`
|
- 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`.
|
- 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
|
- 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
|
- fix SPIR-V generation from WGSL, which was broken due to "Kernel" capability
|
||||||
- validate buffer storage classes
|
- validate buffer storage classes
|
||||||
- Added support for storage texture arrays for Vulkan and Metal.
|
- Added support for storage texture arrays for Vulkan and Metal.
|
||||||
@ -120,7 +189,7 @@
|
|||||||
- interpolation qualifiers
|
- interpolation qualifiers
|
||||||
- allow vertex components to be underspecified
|
- 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
|
- expose `wgc::device::queue` sub-module in public
|
||||||
- fix the indexed buffer check
|
- fix the indexed buffer check
|
||||||
- fix command allocator race condition
|
- fix command allocator race condition
|
||||||
@ -179,28 +248,28 @@
|
|||||||
- bind group matching to the layout
|
- bind group matching to the layout
|
||||||
- experimental shader interface matching with Naga
|
- 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
|
- 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 destruction of adapters, swap chains, and bind group layouts
|
||||||
- fix command pool leak with temporary threads
|
- fix command pool leak with temporary threads
|
||||||
- improve assertion messages
|
- improve assertion messages
|
||||||
- implement `From<TextureFormat>` for `TextureComponentType`
|
- implement `From<TextureFormat>` for `TextureComponentType`
|
||||||
|
|
||||||
## wgpu-core-0.5.4 (2020-04-24)
|
### wgpu-core-0.5.4 (2020-04-24)
|
||||||
- fix memory management of staging buffers
|
- 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
|
- fix reading access to storage textures
|
||||||
- another fix to layout transitions for swapchain images
|
- 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 read-only storage flags
|
||||||
- fix pipeline layout life time
|
- fix pipeline layout life time
|
||||||
- improve various assert messages
|
- 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 swapchain images that are used multiple times in a command buffer
|
||||||
- fix tracking of initial usage of a resource across a command buffer
|
- fix tracking of initial usage of a resource across a command buffer
|
||||||
|
|
||||||
@ -225,13 +294,13 @@
|
|||||||
- unmapping dropped buffers
|
- unmapping dropped buffers
|
||||||
- better error messages on misused swapchain frames
|
- 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
|
- 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
|
- 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 depth/stencil transitions
|
||||||
- fixed dynamic offset iteration
|
- fixed dynamic offset iteration
|
||||||
|
|
||||||
@ -245,10 +314,10 @@
|
|||||||
- Validation:
|
- Validation:
|
||||||
- buffer and texture usage
|
- 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
|
- 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
|
- fixed pipeline barriers that aren't transitions
|
||||||
|
|
||||||
## v0.3 (2019-08-21)
|
## v0.3 (2019-08-21)
|
||||||
@ -271,16 +340,16 @@
|
|||||||
- bind group buffer ranges
|
- bind group buffer ranges
|
||||||
- required stencil reference, blend color
|
- 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
|
- fixed frame acquisition GPU waits
|
||||||
|
|
||||||
## wgpu-core-0.2.5 (2019-03-31)
|
### wgpu-core-0.2.5 (2019-03-31)
|
||||||
- fixed submission tracking
|
- fixed submission tracking
|
||||||
- added support for blend colors
|
- added support for blend colors
|
||||||
- fixed bind group compatibility at the gfx-hal level
|
- fixed bind group compatibility at the gfx-hal level
|
||||||
- validating the bind groups and blend colors
|
- 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 vertex format mapping
|
||||||
- fixed building with "empty" backend on Windows
|
- fixed building with "empty" backend on Windows
|
||||||
- bumped the default descriptor pool size
|
- bumped the default descriptor pool size
|
||||||
|
|||||||
@ -94,7 +94,7 @@ We have multiple methods of testing, each of which tests different qualities abo
|
|||||||
|
|
||||||
### Core Test Infrastructure
|
### 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:
|
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 "<test string>"
|
cargo run --manifest-path ../cts_runner/Cargo.toml --frozen -- ./tools/run_deno --verbose "<test string>"
|
||||||
```
|
```
|
||||||
|
|
||||||
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).
|
The list of currently enabled CTS tests can be found [here](./cts_runner/test.lst).
|
||||||
|
|
||||||
|
|||||||
@ -118,7 +118,7 @@
|
|||||||
depth_or_array_layers: 1,
|
depth_or_array_layers: 1,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
// Partial clear to proove
|
// Partial clear to prove
|
||||||
ClearBuffer(
|
ClearBuffer(
|
||||||
dst: Id(1, 1, Empty),
|
dst: Id(1, 1, Empty),
|
||||||
offset: 4,
|
offset: 4,
|
||||||
|
|||||||
@ -17,16 +17,16 @@ SERVE_ARGS=""
|
|||||||
if which basic-http-server; then
|
if which basic-http-server; then
|
||||||
SERVE_CMD="basic-http-server"
|
SERVE_CMD="basic-http-server"
|
||||||
SERVE_ARGS="target/wasm-examples/$1 -a 127.0.0.1:1234"
|
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_CMD="miniserve"
|
||||||
SERVE_ARGS="target/wasm-examples/$1 -p 1234 --index index.html"
|
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_CMD="python3"
|
||||||
SERVE_ARGS="-m http.server --directory target/wasm-examples/$1 1234"
|
SERVE_ARGS="-m http.server --directory target/wasm-examples/$1 1234"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Exit if we couldn't find a tool to serve the example with
|
# 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."
|
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
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user