bevy/crates/bevy_wgpu/Cargo.toml

37 lines
1.1 KiB
TOML
Raw Normal View History

2020-04-06 03:19:02 +00:00
[package]
name = "bevy_wgpu"
2021-04-06 18:48:48 +00:00
version = "0.5.0"
2020-04-06 03:19:02 +00:00
edition = "2018"
2020-09-10 19:54:24 +00:00
authors = [
"Bevy Contributors <bevyengine@gmail.com>",
"Carter Anderson <mcanders1@gmail.com>",
]
2020-08-10 00:24:27 +00:00
description = "A wgpu render backend for Bevy Engine"
homepage = "https://bevyengine.org"
repository = "https://github.com/bevyengine/bevy"
Relicense Bevy under the dual MIT or Apache-2.0 license (#2509) This relicenses Bevy under the dual MIT or Apache-2.0 license. For rationale, see #2373. * Changes the LICENSE file to describe the dual license. Moved the MIT license to docs/LICENSE-MIT. Added the Apache-2.0 license to docs/LICENSE-APACHE. I opted for this approach over dumping both license files at the root (the more common approach) for a number of reasons: * Github links to the "first" license file (LICENSE-APACHE) in its license links (you can see this in the wgpu and rust-analyzer repos). People clicking these links might erroneously think that the apache license is the only option. Rust and Amethyst both use COPYRIGHT or COPYING files to solve this problem, but this creates more file noise (if you do everything at the root) and the naming feels way less intuitive. * People have a reflex to look for a LICENSE file. By providing a single license file at the root, we make it easy for them to understand our licensing approach. * I like keeping the root clean and noise free * There is precedent for putting the apache and mit license text in sub folders (amethyst) * Removed the `Copyright (c) 2020 Carter Anderson` copyright notice from the MIT license. I don't care about this attribution, it might make license compliance more difficult in some cases, and it didn't properly attribute other contributors. We shoudn't replace it with something like "Copyright (c) 2021 Bevy Contributors" because "Bevy Contributors" is not a legal entity. Instead, we just won't include the copyright line (which has precedent ... Rust also uses this approach). * Updates crates to use the new "MIT OR Apache-2.0" license value * Removes the old legion-transform license file from bevy_transform. bevy_transform has been its own, fully custom implementation for a long time and that license no longer applies. * Added a License section to the main readme * Updated our Bevy Plugin licensing guidelines. As a follow-up we should update the website to properly describe the new license. Closes #2373
2021-07-23 21:11:51 +00:00
license = "MIT OR Apache-2.0"
2020-08-10 00:24:27 +00:00
keywords = ["bevy"]
2020-04-06 03:19:02 +00:00
[features]
default = ["bevy_winit"]
2020-08-16 08:11:17 +00:00
trace = ["wgpu/trace"]
2020-04-06 03:19:02 +00:00
[dependencies]
# bevy
2021-04-06 18:48:48 +00:00
bevy_app = { path = "../bevy_app", version = "0.5.0" }
bevy_asset = { path = "../bevy_asset", version = "0.5.0" }
bevy_core = { path = "../bevy_core", version = "0.5.0" }
bevy_diagnostic = { path = "../bevy_diagnostic", version = "0.5.0" }
bevy_ecs = { path = "../bevy_ecs", version = "0.5.0" }
bevy_render = { path = "../bevy_render", version = "0.5.0" }
bevy_window = { path = "../bevy_window", version = "0.5.0" }
bevy_winit = { path = "../bevy_winit", optional = true, version = "0.5.0" }
bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
2020-04-06 03:19:02 +00:00
# other
Update wgpu requirement from 0.8 to 0.9 (#2371) Updates the requirements on [wgpu](https://github.com/gfx-rs/wgpu) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/gfx-rs/wgpu/blob/master/CHANGELOG.md">wgpu's changelog</a>.</em></p> <blockquote> <h1>Change Log</h1> <h2>v0.9 (2021-06-18)</h2> <ul> <li>Updated: <ul> <li>naga to <code>v0.5</code>.</li> </ul> </li> <li>Added: <ul> <li><code>Features::VERTEX_WRITABLE_STORAGE</code>.</li> <li><code>Features::CLEAR_COMMANDS</code> which allows you to use <code>cmd_buf.clear_texture</code> and <code>cmd_buf.clear_buffer</code>.</li> </ul> </li> <li>Changed: <ul> <li>Updated default storage buffer/image limit to <code>8</code> from <code>4</code>.</li> </ul> </li> <li>Fixed: <ul> <li><code>Buffer::get_mapped_range</code> can now have a range of zero.</li> <li>Fixed output spirv requiring the &quot;kernal&quot; capability.</li> <li>Fixed segfault due to improper drop order.</li> <li>Fixed incorrect dynamic stencil reference for Replace ops.</li> <li>Fixed tracking of temporary resources.</li> <li>Stopped unconditionally adding cubemap flags when the backend doesn't support cubemaps.</li> </ul> </li> <li>Validation: <ul> <li>Ensure that if resources are viewed from the vertex stage, they are read only unless <code>Features::VERTEX_WRITABLE_STORAGE</code> is true.</li> <li>Ensure storage class (i.e. storage vs uniform) is consistent between the shader and the pipeline layout.</li> <li>Error when a color texture is used as a depth/stencil texture.</li> <li>Check that pipeline output formats are logical</li> <li>Added shader label to log messages if validation fails.</li> </ul> </li> <li>Tracing: <ul> <li>Make renderpasses show up in the trace before they are run.</li> </ul> </li> <li>Docs: <ul> <li>Fix typo in <code>PowerPreference::LowPower</code> description.</li> </ul> </li> <li>Player: <ul> <li>Automatically start and stop RenderDoc captures.</li> </ul> </li> <li>Examples: <ul> <li>Handle winit's unconditional exception.</li> </ul> </li> <li>Internal: <ul> <li>Merged wgpu-rs and wgpu back into a single repository.</li> <li>The tracker was split into two different stateful/stateless trackers to reduce overhead.</li> <li>Added code coverage testing</li> <li>CI can now test on lavapipe</li> <li>Add missing extern &quot;C&quot; in wgpu-core on <code>wgpu_render_pass_execute_bundles</code></li> <li>Fix incorrect function name <code>wgpu_render_pass_bundle_indexed_indirect</code> to <code>wgpu_render_bundle_draw_indexed_indirect</code>.</li> </ul> </li> </ul> <h2>wgpu-types-0.8.1 (2021-06-08)</h2> <ul> <li>fix dynamic stencil reference for Replace ops</li> </ul> <h2>v0.8.1 (2021-05-06)</h2> <ul> <li>fix SPIR-V generation from WGSL, which was broken due to &quot;Kernel&quot; capability</li> <li>validate buffer storage classes</li> </ul> <h2>Unreleased</h2> <ul> <li>Added support for storage texture arrays for Vulkan and Metal.</li> </ul> <h2>v0.8 (2021-04-29)</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/gfx-rs/wgpu/commits">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2021-06-24 16:38:02 +00:00
wgpu = "0.9"
2020-09-10 19:54:24 +00:00
futures-lite = "1.4.0"
crossbeam-channel = "0.5.0"
crossbeam-utils = "0.8.1"
2020-09-10 19:54:24 +00:00
parking_lot = "0.11.0"