Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 3D Gizmo webgpu rendering #14652

Closed
wants to merge 130 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
2d11d9a
Release Candidate 0.14.0-rc.1
mockersf Jun 6, 2024
4320444
Allow mix of hdr and non-hdr cameras to same render target (#13419)
tychedelia Jun 6, 2024
5f2e927
rename bevy_state_macros to bevy_state_macros_official
mockersf Jun 6, 2024
79a93de
Release Candidate 0.14.0-rc.2
mockersf Jun 6, 2024
ce19b0f
Update crate metadata for bevy state (#13722)
mockersf Jun 7, 2024
25306e7
Document the Release Candidate process (#13718)
mockersf Jun 7, 2024
c71fa76
rename the crate bevy_state_macros_official back to its original name…
mockersf Jun 7, 2024
4df9538
Make the component types of the new animation players clonable. (#13736)
mintlu8 Jun 7, 2024
971723e
13743 app exit hang (#13744)
tychedelia Jun 8, 2024
b14684e
Clear messed up feature flag on AppExitStates impl (#13737)
bugsweeper Jun 9, 2024
7ae3c94
view.inverse_clip_from_world should be world_from_clip (#13756)
ChristopherBiscardi Jun 9, 2024
621cd23
Fix EntityCommands::despawn docs (#13774)
thebluefish Jun 9, 2024
91db570
Let init_non_send_resource require FromWorld instead of Default (#13779)
NiklasEi Jun 10, 2024
be65fbb
2D top-down camera example (#12720)
theredfish Jun 10, 2024
a2c5b0d
Add segments to `ExtrusionBuilder` (#13719)
lynn-lumen Jun 10, 2024
1ae616f
Improve error handling for `AssetServer::add_async` (#13745)
JoJoJet Jun 10, 2024
8c5769a
Remove unused mip_bias parameter from apply_normal_mapping (#13752)
JMS55 Jun 10, 2024
cbebcb0
Adds back in way to convert color to u8 array, implemented for the tw…
gagnus Jun 10, 2024
a944598
Meshlet misc (#13761)
JMS55 Jun 10, 2024
854983d
Add more granular system sets for state transition schedule ordering …
MiniaczQ Jun 10, 2024
c060e3e
Clarify error message due to missing shader file (#13766)
imrn99 Jun 10, 2024
a3916b4
fix docs around `StateTransition` and remove references to `apply_sta…
lee-orr Jun 10, 2024
3ced49f
Make FOG_ENABLED a shader_def instead of material flag (#13783)
IceSentry Jun 10, 2024
effbcdf
Update serialize flag for bevy_ecs (#13740)
cBournhonesque Jun 10, 2024
65dbfe2
Remove extra call to clear_trackers (#13762)
chrisjuchem Jun 10, 2024
7cd9099
Poll system information in separate tasks (#13693)
Brezak Jun 10, 2024
93f48ed
Fix meshlet vertex attribute interpolation (#13775)
JMS55 Jun 10, 2024
9a82ecf
Custom primitives example (#13795)
lynn-lumen Jun 10, 2024
e14f3ba
Add `from_color` to `StandardMaterial` and `ColorMaterial` (#13791)
Brezak Jun 10, 2024
92176ce
Revert "Make FOG_ENABLED a shader_def instead of material flag (#1378…
alice-i-cecile Jun 10, 2024
cdd1f71
Revert "constrain WorldQuery::init_state argument to ComponentInitial…
hymm Jun 11, 2024
eca7e87
Fix minor typos in query join docs (#13812)
CatThingy Jun 11, 2024
84be2b3
Ensure that events are updated even when using a bare-bones Bevy App …
mnmaita Jun 14, 2024
7c0b1b9
Add missing plugins to doc of DefaultPlugins (#13833)
MonaMayrhofer Jun 14, 2024
727b0f6
Use dynamic uniform buffer in post processing example (#13540)
jgayfer Jun 14, 2024
ac50539
reduce the antialias strength (#13814)
hymm Jun 14, 2024
1ea1b76
Wgpu 0.20 (#13186)
Elabajaba Jun 14, 2024
ccfae7e
fix non-exact text h-alignment (#13846)
robtfm Jun 14, 2024
cc4681f
Fix is_plugin_added::<Self>() being true during build (#13817)
kristoff3r Jun 14, 2024
5ed296f
Restore overwrite capabilities of `insert_state` (#13848)
MiniaczQ Jun 14, 2024
eca8220
Generalised ECS reactivity with Observers (#10839) (#13873)
mnmaita Jun 16, 2024
55ee49b
text position: use size instead of bounds (#13858)
mockersf Jun 16, 2024
03f63e7
Release Candidate 0.14.0-rc.3
mockersf Jun 16, 2024
1c838ff
remove inaccurate warning from `in_state` (#13862)
lee-orr Jun 16, 2024
6cf04c2
Warn about missing `StatesPlugin` when installing states (#13877)
MiniaczQ Jun 16, 2024
165f399
Make time_system public (#13879)
kristoff3r Jun 16, 2024
f2e6672
observers example doesn't follow standards (#13884)
mockersf Jun 17, 2024
4608708
Fix phantom key presses in winit on focus change (#13299) (#13696)
hut Jun 17, 2024
b74b3b2
Add first person view model example (#13828)
janhohenheim Jun 17, 2024
5d5e67f
Update observer archetype flags for sparse components (#13886)
james-j-obrien Jun 17, 2024
472a6e8
Shader code paths (#13908)
AndrewDanial Jun 19, 2024
47ad37e
bug: Fix 9-slice textures with asymmetric borders. (#13921)
shanecelis Jun 19, 2024
783fc29
Move `StateTransitionSteps` registration to states plugin (#13939)
MiniaczQ Jun 20, 2024
cf66df1
Use a ship in Transform::align example (#13935)
ChristopherBiscardi Jun 20, 2024
e73063e
Correctly check physical size when updating winit (#13942)
tychedelia Jun 20, 2024
8af12c8
apply window scale to window size when creating it (#13967)
mockersf Jun 21, 2024
073db8c
Make Observer::with_event (and other variants) unsafe (#13954)
cart Jun 21, 2024
b56a693
Fix meshlet interactions with regular shading passes (#13816)
JMS55 Jun 21, 2024
a41ed78
Fixing par_read targetting 0.14 branch (#14014)
BobG1983 Jun 25, 2024
a0e7429
fix panic: invalid SlotMap key used (#13990)
eidloi Jun 24, 2024
8c1b9a6
feat(bevy_app): expose an API to perform updates for a specific sub-a…
Soulghost Jun 25, 2024
9eb547e
Don't show `.to_bits` in `Display` impl for `Entity` (#14011)
alice-i-cecile Jun 25, 2024
65daab8
Fix MeshletMesh material system ordering (#14016)
JMS55 Jun 25, 2024
82f0156
Make default behavior for `BackgroundColor` and `BorderColor` more in…
alice-i-cecile Jun 25, 2024
f89f7f3
AnyOf soundness fix (#14013)
cBournhonesque Jun 25, 2024
4736fe0
don't crash without features `bevy_pbr`, `ktx2`, `zstd` (#14020)
mockersf Jun 26, 2024
f8e165b
Print warning when using llvmpipe (#13780)
msvbg Jun 26, 2024
27aa9d2
example showcase: keep the order of the shaders imported (#14035)
mockersf Jun 26, 2024
e65e4be
fix examples color_grading and mobile after BackgroundColor changes (…
mockersf Jun 26, 2024
a6feb5b
Emit a warning if the result of `EntityCommand::with_entity` is not u…
JoJoJet Jun 26, 2024
9a4de9c
Fix typo in CPU adapter warning (#14037)
msvbg Jun 26, 2024
99db59c
Have WindowPosition::Centered take scale_factor_override into account…
MScottMcBee Jun 24, 2024
cc17647
Improve MeshletMesh::from_mesh performance (#13904)
zeux Jun 18, 2024
4f0b0e0
Make meshlet processing deterministic (#13913)
zeux Jun 20, 2024
5d7da82
Improve MeshletMesh::from_mesh performance further (#14038)
zeux Jun 27, 2024
7c60387
Fix incorrect computation of mips for cluster occlusion lookup (#14042)
zeux Jun 27, 2024
7b98db6
add missing sort_unstable_by_key to QueryIter (#14040)
Victoronz Jun 27, 2024
bea8823
Add missing StaticSystemParam::queue implementation. (#14051)
chescock Jun 27, 2024
26f7313
Allow phase items not associated with meshes to be binned. (#14029)
pcwalton Jun 27, 2024
20638f3
add PartialEq to Outline (#14055)
eidloi Jun 27, 2024
73b43aa
Fix error in AnyOf (#14027)
cBournhonesque Jun 27, 2024
036d002
Release Candidate 0.14.0-rc.4
mockersf Jun 27, 2024
4a05c73
don't put previous skin/morph in the morphed_skinned_mesh_layout (#14…
mockersf Jun 29, 2024
dc56614
only run one update per frame drawn (#14023)
mockersf Jun 26, 2024
fda2e4b
Fix compile failure in WASM without `wgpu` backend (#14081)
aevyrie Jun 30, 2024
d7a0cc6
Support operations for render layers and fix equality comparisons (#1…
JoJoJet Jul 1, 2024
99c465d
Clarify the difference between default render layers and `none` rende…
JoJoJet Jul 1, 2024
31b8614
Backport #14083 (deregister events) to 0.14 branch (#14114)
alice-i-cecile Jul 2, 2024
e733351
Fix `push_children` inserting a `Children` component even when no chi…
janhohenheim Jul 2, 2024
24fdad3
add missing mention of sort_unstable_by_key in QuerySortedIter docs (…
Victoronz Jul 2, 2024
309c224
Added `get_main_animation` for `AnimationTransitions` (#14104)
mintlu8 Jul 2, 2024
1db0214
Added feature switch to default Standard Material's new anisotropy te…
gagnus Jul 2, 2024
ff070da
fix remaining issues with background color in examples (#14115)
mockersf Jul 3, 2024
201dd62
Fix border color in `ui_texture_slice` and `ui_texture_atlas_slice` e…
rparrett Jul 3, 2024
b231ebb
Release 0.14.0 version bump (#14126)
mockersf Jul 4, 2024
a6fde10
EmptyPathStream is only used in android/wasm32 (#14200)
mockersf Jul 7, 2024
4275669
impl Reflect + Clone for StateScoped (#14156)
brandon-reinhart Jul 8, 2024
c6b80c5
add entity to error message (#14163)
hymm Jul 8, 2024
7ed1f6a
use Display for entity id in log_components (#14164)
hymm Jul 8, 2024
e941264
Optimize unnecessary normalizations for `Transform::local_{xyz}` (#14…
janhohenheim Jul 8, 2024
5d9e44b
disable gpu preprocessing on android with Adreno 730 GPU and earilier…
Litttlefish Jul 8, 2024
1bc5ecd
bevy_input: allow use without bevy_reflect (#14167)
torsteingrindvik Jul 8, 2024
0e1858b
fix: Possible NaN due to denormalised quaternions in AABB implementat…
IQuick143 Jul 10, 2024
4bd56b6
Dirty fix for App hanging when windows are invisible on WindowsOS (#1…
MiniaczQ Jul 14, 2024
d0583c8
Fix swapped docs for `Rot2::rotation_to/from_y` (#14307)
mweatherley Jul 14, 2024
7f3fea9
Allow observer systems to have outputs (#14159)
cBournhonesque Jul 15, 2024
524fb01
Make initial `StateTransition` run before `PreStartup` (#14208)
MiniaczQ Jul 15, 2024
728c5b9
Fix overflow in `RenderLayers::iter_layers` (#14264)
Azorlogh Jul 15, 2024
70a0c21
Fix `bevy_window` failing with `serialize` feature (#14298)
BD103 Jul 15, 2024
42412f3
Fix error/typo in SMAA shader (#14338)
Luracasmus Jul 15, 2024
420ca6c
Make `Viewport::default()` return a 1x1 viewport (#14372)
SludgePhD Jul 20, 2024
295ed1f
fix building cargo_gltf with feature dds (#14360)
mockersf Jul 20, 2024
df3fcbd
Fix incorrect function calls to hsv_to_rgb in render debug code. (#14…
Soulghost Jul 22, 2024
6882420
Add some missing reflect attributes (#14259)
mrchantey Jul 22, 2024
2e577bc
Fix single keyframe animations. (#14344)
yrns Jul 22, 2024
2870d89
Fix `bevy_gltf` PBR features not enabling corresponding `bevy_pbr` fl…
BD103 Jul 26, 2024
9daf16b
Handle 0 height in prepare_bloom_textures (#14423)
NiseVoid Jul 26, 2024
c4ea477
Fix `bevy_winit` not building with `serialize` feature (#14469)
BD103 Jul 26, 2024
680c994
Fix TextureCache memory leak and add is_empty() method (#14480)
brianreavis Jul 27, 2024
27cafda
Fix breaking image 0.25.2 release. (#14421)
tychedelia Jul 21, 2024
587cffd
Fix `bevy_render`'s `image` dependency version (#14505)
SkiFire13 Jul 28, 2024
0886e6a
Disabled usage of the POLYGON_MODE_LINE gpu feature in the examples (…
SarthakSingh31 Jul 29, 2024
ebfe545
fix issue with phantom ui node children (#14490)
eidloi Jul 29, 2024
3a6176b
Properly handle repeated window close requests (#14573)
Brezak Aug 1, 2024
d888640
fix asymmetrical 9-slicing (#14148)
JJJimbo1 Aug 1, 2024
833ee3f
Skip batching for phase items from other pipelines (#14296)
james-j-obrien Aug 2, 2024
61c683f
feat: add insert_after and insert_startup_before (#13941)
kettei-sproutty Jun 20, 2024
c217238
clippy happy
mockersf Aug 2, 2024
d65eb39
Release 0.14.1
mockersf Aug 2, 2024
aa034e7
fix line gizmo vertex buffer assignments
AFKessen Aug 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- main
- release-*

env:
CARGO_TERM_COLOR: always
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/validation-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- main
- release-*

concurrency:
group: ${{github.workflow}}-${{github.ref}}
Expand Down
76 changes: 70 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy"
version = "0.14.0-dev"
version = "0.14.1"
edition = "2021"
categories = ["game-engines", "graphics", "gui", "rendering"]
description = "A refreshingly simple data-driven game engine and app framework"
Expand All @@ -10,7 +10,7 @@ keywords = ["game", "engine", "gamedev", "graphics", "bevy"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bevyengine/bevy"
documentation = "https://docs.rs/bevy"
rust-version = "1.78.0"
rust-version = "1.79.0"

[workspace]
exclude = [
Expand Down Expand Up @@ -38,6 +38,7 @@ undocumented_unsafe_blocks = "warn"
redundant_else = "warn"
match_same_arms = "warn"
semicolon_if_nothing_returned = "warn"
doc_lazy_continuation = "allow"

ptr_as_ptr = "warn"
ptr_cast_constness = "warn"
Expand Down Expand Up @@ -76,6 +77,7 @@ default = [
"bevy_gizmos",
"android_shared_stdcxx",
"tonemapping_luts",
"smaa_luts",
"default_font",
"webgl2",
"sysinfo_plugin",
Expand Down Expand Up @@ -282,6 +284,9 @@ detailed_trace = ["bevy_internal/detailed_trace"]
# Include tonemapping Look Up Tables KTX2 files. If everything is pink, you need to enable this feature or change the `Tonemapping` method on your `Camera2dBundle` or `Camera3dBundle`.
tonemapping_luts = ["bevy_internal/tonemapping_luts", "ktx2", "zstd"]

# Include SMAA Look Up Tables KTX2 Files
smaa_luts = ["bevy_internal/smaa_luts"]

# Enable AccessKit on Unix backends (currently only works with experimental screen readers and forks.)
accesskit_unix = ["bevy_internal/accesskit_unix"]

Expand All @@ -308,6 +313,9 @@ pbr_multi_layer_material_textures = [
"bevy_internal/pbr_multi_layer_material_textures",
]

# Enable support for anisotropy texture in the `StandardMaterial`, at the risk of blowing past the global, per-shader texture limit on older/lower-end GPUs
pbr_anisotropy_texture = ["bevy_internal/pbr_anisotropy_texture"]

# Enable some limitations to be able to use WebGL2. Please refer to the [WebGL2 and WebGPU](https://github.com/bevyengine/bevy/tree/latest/examples#webgl2-and-webgpu) section of the examples README for more information on how to run Wasm builds with WebGPU.
webgl2 = ["bevy_internal/webgl"]

Expand Down Expand Up @@ -339,11 +347,11 @@ ios_simulator = ["bevy_internal/ios_simulator"]
bevy_state = ["bevy_internal/bevy_state"]

[dependencies]
bevy_internal = { path = "crates/bevy_internal", version = "0.14.0-dev", default-features = false }
bevy_internal = { path = "crates/bevy_internal", version = "0.14.1", default-features = false }

# WASM does not support dynamic linking.
[target.'cfg(not(target_family = "wasm"))'.dependencies]
bevy_dylib = { path = "crates/bevy_dylib", version = "0.14.0-dev", default-features = false, optional = true }
bevy_dylib = { path = "crates/bevy_dylib", version = "0.14.1", default-features = false, optional = true }

[dev-dependencies]
rand = "0.8.0"
Expand Down Expand Up @@ -746,7 +754,8 @@ doc-scrape-examples = true
name = "Lines"
description = "Create a custom material to draw 3d lines"
category = "3D Rendering"
wasm = true
# WASM does not support the `POLYGON_MODE_LINE` feature.
wasm = false

[[example]]
name = "ssao"
Expand Down Expand Up @@ -2534,6 +2543,17 @@ description = "Systems run in parallel, but their order isn't always determinist
category = "ECS (Entity Component System)"
wasm = false

[[example]]
name = "observers"
path = "examples/ecs/observers.rs"
doc-scrape-examples = true

[package.metadata.example.observers]
name = "Observers"
description = "Demonstrates observers that react to events (both built-in life-cycle events and custom events)"
category = "ECS (Entity Component System)"
wasm = true

[[example]]
name = "3d_rotation"
path = "examples/transforms/3d_rotation.rs"
Expand Down Expand Up @@ -3024,6 +3044,17 @@ description = "Demonstrates all the primitives which can be sampled."
category = "Math"
wasm = true

[[example]]
name = "custom_primitives"
path = "examples/math/custom_primitives.rs"
doc-scrape-examples = true

[package.metadata.example.custom_primitives]
name = "Custom Primitives"
description = "Demonstrates how to add custom primitives and useful traits for them."
category = "Math"
wasm = true

[[example]]
name = "random_sampling"
path = "examples/math/random_sampling.rs"
Expand Down Expand Up @@ -3086,6 +3117,28 @@ path = "examples/dev_tools/fps_overlay.rs"
doc-scrape-examples = true
required-features = ["bevy_dev_tools"]

[[example]]
name = "2d_top_down_camera"
path = "examples/camera/2d_top_down_camera.rs"
doc-scrape-examples = true

[package.metadata.example.2d_top_down_camera]
name = "2D top-down camera"
description = "A 2D top-down camera smoothly following player movements"
category = "Camera"
wasm = true

[[example]]
name = "first_person_view_model"
path = "examples/camera/first_person_view_model.rs"
doc-scrape-examples = true

[package.metadata.example.first_person_view_model]
name = "First person view model"
description = "A first-person camera that uses a world model and a view model with different field of views (FOV)"
category = "Camera"
wasm = true

[package.metadata.example.fps_overlay]
name = "FPS overlay"
description = "Demonstrates FPS overlay"
Expand Down Expand Up @@ -3163,14 +3216,25 @@ wasm = true
name = "anisotropy"
path = "examples/3d/anisotropy.rs"
doc-scrape-examples = true
required-features = ["jpeg"]
required-features = ["jpeg", "pbr_anisotropy_texture"]

[package.metadata.example.anisotropy]
name = "Anisotropy"
description = "Displays an example model with anisotropy"
category = "3D Rendering"
wasm = false

[[example]]
name = "custom_phase_item"
path = "examples/shader/custom_phase_item.rs"
doc-scrape-examples = true

[package.metadata.example.custom_phase_item]
name = "Custom phase item"
description = "Demonstrates how to enqueue custom draw commands in a render phase"
category = "Shaders"
wasm = true

[profile.wasm-release]
inherits = "release"
opt-level = "z"
Expand Down
Loading