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

Depth prepass #19

Closed
wants to merge 1,909 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1909 commits
Select commit Hold shift + click to select a range
8e8cbcc
gltf: do not import IoTaskPool in wasm (#5038)
mockersf Jun 20, 2022
9095d2f
Physical viewport calculation fix (#5055)
aevyrie Jun 20, 2022
bb1d524
Cleanups in diagnostics (#3871)
mockersf Jun 20, 2022
218b0fd
`bevy_reflect`: put `serialize` into external `ReflectSerialize` type…
jakobhellermann Jun 20, 2022
92ea730
Add benchmarks for schedule dependency resolution (#4961)
joseph-gio Jun 20, 2022
3217f21
change panicking test to not run on global task pool (#4998)
hymm Jun 20, 2022
2ec5ff9
Add a `release_all` function to `Input`. (#5011)
Hoidigan Jun 20, 2022
515c8a3
Update `clap` to 3.2 in tools using `value_parser` (#5031)
mlodato517 Jun 20, 2022
9089c8b
Fix redundant "have" in CONTRIBUTING (#5036)
mlodato517 Jun 20, 2022
984ce3f
Add `Input::reset_all` (#5015)
Hoidigan Jun 20, 2022
30ca97e
Fix Nix section of linux_dependencies.md (#5050)
fluunke Jun 20, 2022
c4fc5d8
Fixed bevy_ui touch input (#4099)
ManevilleF Jun 20, 2022
511bcc9
Improve entity and component API docs (#4767)
Nilirad Jun 21, 2022
389df18
Change check_visibility to use thread-local queues instead of a chann…
james7132 Jun 21, 2022
c988264
Mark mutable APIs under ECS storage as pub(crate) (#5065)
james7132 Jun 21, 2022
114d169
Callable PBR functions (#4939)
superdump Jun 21, 2022
86dd6f0
depend on dioxus(and bevy)-maintained fork of stretch (taffy) (#4716)
colepoirier Jun 21, 2022
4967351
many foxes: only change animation once (#5076)
mockersf Jun 23, 2022
7e6dd3f
Allow unbatched render phases to use unstable sorts (#5049)
james7132 Jun 23, 2022
33a5f2b
`transparency_3d` example tweaks (#4968)
MiniaczQ Jun 23, 2022
3d68094
linux_dependencies: cleanup NixOS (#5086)
Jun 24, 2022
ad88bda
Fixed Android example icon (#4076)
ManevilleF Jun 24, 2022
5a3e777
Fix skinned mesh normal handling in mesh shader (#5095)
edwardvear Jun 25, 2022
5712583
Add some docs about lowspec rendering (#5091)
inact1v1ty Jun 25, 2022
f8fa229
Examples metadata in Cargo.toml (#4741)
mockersf Jun 25, 2022
fa56a5c
Add component_id function to World and Components (#5066)
GarettCooper Jun 25, 2022
92eec47
Separate PBR and tone mapping into 2 functions (#5078)
cryscan Jun 26, 2022
1bd33ca
Default image sampler doc fix (#5047)
sarkahn Jun 26, 2022
056f122
Update `MouseMotion` and `CursorMoved` docs (#5090)
Nilirad Jun 26, 2022
4f5f040
Fix player number in example game in the ecs_guide (#5098)
dilyankostov Jun 26, 2022
e57abc1
Remove double blank line from component docs (#5102)
Nilirad Jun 26, 2022
a32eac8
Miri can set thread names now (#5108)
RalfJung Jun 26, 2022
a138804
Add `reload_asset` method to AssetServer. (#5106)
Neopallium Jun 26, 2022
332cfa1
Update CONTRIBUTING.md (#4962)
Vrixyz Jun 27, 2022
c27a3cf
Make `Reflect` safe to implement (#5010)
PROMETHIA-27 Jun 27, 2022
9eb6928
Directly copy moved Table components to the target location (#5056)
james7132 Jun 27, 2022
84991d3
Array texture example (#5077)
superdump Jun 28, 2022
e60f614
Documenting `BufferVec`. (#4673)
Jun 28, 2022
e28b88b
Fix Events example link (#5126)
64kramsystem Jun 28, 2022
6e50b24
Update `ExactSizeIterator` impl to support archetypal filters (With, …
harudagondi Jun 29, 2022
ba3d8be
Wider ECS Benchmarks (#5123)
james7132 Jun 29, 2022
510ce5e
fix resource not found error message (#5128)
hymm Jun 29, 2022
072f2e1
Move texture sample out of branch in prepare_normal (#5129)
DGriffin91 Jun 29, 2022
7a42f7b
Fix typos in bevy_reflect readme (#5134)
grace125 Jun 29, 2022
7d55414
Use tone mapping in array_texture example (#5131)
DGriffin91 Jun 29, 2022
5b5660e
remove unnecessary unsafe impl of `Send+Sync` for `ParallelSystemCont…
jakobhellermann Jun 29, 2022
5f8e438
Enable single-commit option for doc deployment (#5138)
Kanabenki Jun 29, 2022
b3fa479
Add ability to inspect entity's components (#5136)
harudagondi Jun 30, 2022
96f0ebb
Fix rust 1.62 changes (#5154)
cart Jun 30, 2022
d4e4a92
android - fix issues other than the rendering (#5130)
mockersf Jun 30, 2022
747b0c6
Better Materials: AsBindGroup trait and derive, simpler Material trai…
cart Jun 30, 2022
5e17569
Derive default for enums where possible (#5158)
rparrett Jul 1, 2022
ea13f0b
Add helper methods for rotating `Transform`s (#5151)
tim-blackbird Jul 1, 2022
8ba6be1
unpin nightly and disable weak memory emulation (#4988)
mockersf Jul 1, 2022
49ff42c
fix new clippy lints (#5160)
jakobhellermann Jul 1, 2022
cdbabb7
Removed world cell from places where split multable access is not nee…
SarthakSingh31 Jul 1, 2022
a1a0794
fix some memory leaks detected by miri (#4959)
BoxyUwU Jul 1, 2022
4c5e30a
Re-enable check-unused-dependencies in CI (#5172)
alice-i-cecile Jul 2, 2022
382cd49
Add documentation to `VisibleEntities` and related (#5100)
djeedai Jul 2, 2022
de92054
Improve Command(s) docs (#4994)
LoipesMas Jul 2, 2022
8f721d8
Move `get_short_name` utility method from `bevy_reflect` into `bevy_u…
alice-i-cecile Jul 2, 2022
33f9b39
Updated `glam` to `0.21`. (#5142)
CGMossa Jul 3, 2022
72e7358
Disable Vsync for stress tests. (#5187)
Elabajaba Jul 3, 2022
af48c10
Enable wgpu profiling spans when using bevy's trace feature (#5182)
superdump Jul 4, 2022
2887659
Rework extract_meshes (#4240)
nicopap Jul 4, 2022
c0f807c
Bump peter-evans/create-pull-request from 3 to 4 (#4940)
dependabot[bot] Jul 4, 2022
49da4e7
Add option to center a window (#4999)
LoipesMas Jul 4, 2022
46f5411
Add TextureAtlas stress test based on many_sprites and sprite_sheet e…
james-j-obrien Jul 4, 2022
5d3fa5e
Add `inverse_projection` and `inverse_view_proj` fields to shader vie…
elijaharita Jul 4, 2022
3a102e7
Add Events to `bevy_ecs` prelude (#5159)
alice-i-cecile Jul 4, 2022
e64efd3
Remove the dependency cycles (#5171)
DJMcNab Jul 4, 2022
5498ef8
bevy_reflect: support map insertion (#5173)
Davier Jul 4, 2022
534cad6
Add reflection for resources (#5175)
Shatur Jul 4, 2022
050251d
Add standard Bevy boilerplate to README.md (#5191)
alice-i-cecile Jul 4, 2022
179f719
ECS benchmarks organization (#5189)
ShadowCurse Jul 4, 2022
4d05eb1
bevy_reflect: remove `glam` from a test which is active without the g…
jakobhellermann Jul 4, 2022
d38a8df
add more `SAFETY` comments and lint for missing ones in `bevy_ecs` (#…
jakobhellermann Jul 4, 2022
2c9bc0b
Remove dead `SystemLabelMarker` struct (#5190)
alice-i-cecile Jul 4, 2022
dfe9690
docs: Add section about using Tracy for profiling (#4534)
superdump Jul 4, 2022
5b5013d
Add ViewRangefinder3d to reduce boilerplate when enqueuing standard 3…
komadori Jul 5, 2022
61e5bfb
implement reflection for more glam types (#5194)
makspll Jul 5, 2022
aa0cd7c
Make the fields of the Material2dKey public (#5212)
TethysSvensson Jul 5, 2022
faa40bf
Fix markdownlint privileges complaint (#5216)
Vrixyz Jul 5, 2022
a249e95
Fix small typo in example name (#5217)
mlodato517 Jul 5, 2022
40982cd
Make reflect_partial_eq return more accurate results (#5210)
afonsolage Jul 5, 2022
f73987a
add a more helpful error to help debug panicking command on despawned…
mockersf Jul 5, 2022
2db1611
Add troubleshooting command to miri docs (#5116)
alice-i-cecile Jul 6, 2022
bf1ca81
remove component and resource suffixes from reflect structs (#5219)
oliverpauffley Jul 6, 2022
cf200f0
Fix typo in Word::get_by_id docs (#5246)
Jul 7, 2022
4ee73ed
Rename CameraUi (#5234)
nicopap Jul 8, 2022
6b073ee
Update shader_material_glsl example to include texture sampling (#5215)
BorisBoutillier Jul 8, 2022
11c4514
Move the configuration of the WindowPlugin to a resource (#5227)
TethysSvensson Jul 8, 2022
17e87f1
Improve EntityMap API (#5231)
Shatur Jul 8, 2022
47f1944
Adds a "Question" link to the new issue selection (#5169)
themasch Jul 8, 2022
4c35ecf
linux_dependencies: fix NixOS (#5251)
SuperSamus Jul 8, 2022
132950c
Spotlights (#4715)
robtfm Jul 8, 2022
3c51ad2
Allow rendering meshes without UV coordinate data. (#5222)
komadori Jul 8, 2022
e6faf99
Add support for removing attributes from meshes. (#5254)
komadori Jul 8, 2022
7b2cf98
Make `RenderStage::Extract` run on the render world (#4402)
DJMcNab Jul 8, 2022
518408d
Remove spirv-reflect from readme (#5192)
IceSentry Jul 9, 2022
8eb0440
Hierarchy commandization (#4197)
james7132 Jul 10, 2022
8de03b0
Extract resources into their target location (#5271)
DJMcNab Jul 10, 2022
1da6720
Add apply_or_insert functions to reflected component and resources (#…
Shatur Jul 11, 2022
1fccb99
Improve Gamepad DPad Button Detection (#5220)
zicklag Jul 11, 2022
9b6253b
Added multi windows check for bevy_ui `Interaction`. (#5225)
farend-east Jul 11, 2022
81bb4ef
Document That FloatOrd Implements Hash and Eq Too (#5228)
zicklag Jul 11, 2022
8ea4a3d
TextureFormat::R16Unorm support for Image (#5249)
kurtkuehnert Jul 11, 2022
fda1fee
Use collect to build mesh attributes (#5255)
kornelski Jul 11, 2022
6c2f78f
Validate vertex attribute format on insert (#5259)
IceSentry Jul 11, 2022
2344ada
Rename `headless_defaults` example to `no_renderer` for clarity (#5263)
LegNeato Jul 11, 2022
3203a85
Change window position types from tuple to vec (#5276)
MrPicklePinosaur Jul 11, 2022
4847f7e
Update codebase to use `IntoIterator` where possible. (#5269)
tim-blackbird Jul 11, 2022
a1d3f1b
Update time by sending frame instant through a channel (#4744)
hymm Jul 11, 2022
93a1316
Very minor doc formatting changes (#5287)
CGMossa Jul 12, 2022
f9c1a8a
docs: Full documentation for bevy_asset (#3536)
manokara Jul 12, 2022
df7736c
Alias world_to_viewport for easier migration (#5298)
nicopap Jul 12, 2022
de484c1
fix extract_wireframes (#5301)
IceSentry Jul 13, 2022
052de08
Enable loading textures of unlimited size (#5305)
fgiordana Jul 13, 2022
bb9706c
Document exotic patterns for `Command`s and `Event`s (#4840)
joseph-gio Jul 13, 2022
2f9a886
Implement `Debug` for `Gamepads` (#5291)
alice-i-cecile Jul 13, 2022
56d69c1
Fix incorrect rotation in `Transform::rotate_around`. (#5300)
tim-blackbird Jul 13, 2022
1dbb1f7
Allow iter combinations on custom world queries (#5286)
harudagondi Jul 13, 2022
6c06fc5
Add ExactSizeIterator implementation for QueryCombinatonIter (#5148)
nicopap Jul 13, 2022
b3d1515
Added performance warning when running stress test examples in debug …
Jul 13, 2022
fe59fe5
Add `assert_is_exclusive_system` function (#5275)
MrPicklePinosaur Jul 14, 2022
dc3b4b6
Added colors to sprite stress test (#5317)
ManevilleF Jul 14, 2022
847f47d
Remove `rand` crate from dependency tree (#3992)
BGR360 Jul 14, 2022
234e5af
Implement `From<bool>` for `ShouldRun`. (#5306)
tim-blackbird Jul 14, 2022
c43295a
Simplify design for `*Label`s (#4957)
joseph-gio Jul 14, 2022
814f8d1
update wgpu to 0.13 (#5168)
mockersf Jul 14, 2022
44566db
remove an unused import in release (#5320)
mockersf Jul 14, 2022
6b34e81
add a 3d lines example (#5319)
IceSentry Jul 15, 2022
56ee620
Export and register `Mat2`. (#5324)
tim-blackbird Jul 15, 2022
c8aa047
Parameterize nightly toolchain in CI (#5330)
mockersf Jul 15, 2022
40d4992
Visibilty Inheritance, universal ComputedVisibility and RenderLayers …
james7132 Jul 15, 2022
e0a8087
remove nightly from CI/bors (#5333)
mockersf Jul 16, 2022
8810a73
Support AsBindGroup for 2d materials as well (#5312)
johanhelsing Jul 16, 2022
9f8bdee
Use Affine3A for GlobalTransform to allow any affine transformation (…
HackerFoo Jul 16, 2022
a63d761
Add VisibilityBundle and use it to fix gltfs, scenes, and examples (#…
rparrett Jul 16, 2022
25d222b
Minimally fix the known unsoundness in bevy_mikktspace (#5299)
DJMcNab Jul 16, 2022
f531a94
Remove redundant `Size` import (#5339)
Jul 16, 2022
d4f8f88
Don't panic when StandardMaterial normal_map hasn't loaded yet (#5307)
ChristopherBiscardi Jul 16, 2022
3fdf40d
Make the contributor birbs bounce to the window height! (#5274)
tim-blackbird Jul 17, 2022
d65e01b
windows CI: use exact same command to prebuild (#5352)
mockersf Jul 17, 2022
71368d4
Fix line material shader (#5348)
NiklasEi Jul 17, 2022
2b93ab5
Remove unused code in game of life shader (#5349)
NiklasEi Jul 17, 2022
9c116d5
allow unicode license (#5337)
mockersf Jul 17, 2022
4affc8c
add a SpatialBundle with visibility and transform components (#5344)
mockersf Jul 18, 2022
1ac8a47
remove QF generics from all `Query/State` methods and types (#5170)
BoxyUwU Jul 19, 2022
44e9cd4
Add attribute to ignore fields of derived labels (#5366)
joseph-gio Jul 19, 2022
282f8ed
Add helpers to send `Events` from `World` (#5355)
aevyrie Jul 19, 2022
50a4441
Derive AsBindGroup Improvements: Better errors, more options, update …
wrapperup Jul 19, 2022
0fa499a
rename send_default_event to send_event_default on world (#5383)
mockersf Jul 19, 2022
7dcfaae
bevy_reflect: `ReflectFromPtr` to create `&dyn Reflect` from a `*cons…
jakobhellermann Jul 19, 2022
959f3b1
Allows conversion of mutable queries to immutable queries (#5376)
harudagondi Jul 20, 2022
c2b332f
Recalculate entity aabbs when meshes change (#4944)
mlodato517 Jul 20, 2022
222f2dd
Fix `OwningPtr` docs (#5391)
Jul 20, 2022
35f99a6
unpin nightly in CI (#5385)
mockersf Jul 20, 2022
9f906fd
Improve ergonomics and reduce boilerplate around creating text elemen…
tim-blackbird Jul 20, 2022
84bf6f6
Export anyhow::error for custom asset loaders (#5359)
sarkahn Jul 20, 2022
ee3368b
Update Notify Dependency (#5396)
zicklag Jul 20, 2022
60c6934
Document `Size` and `UiRect` (#5381)
Jul 20, 2022
db86023
Note that changes to licensing are controversial (#4975)
alice-i-cecile Jul 20, 2022
433306b
Documenting `UniformBuffer`, `DynamicUniformBuffer`, `StorageBuffer` …
Jul 20, 2022
56e9a3d
improve documentation for macro-generated label types (#5367)
joseph-gio Jul 20, 2022
c0b87d2
don't cull ui nodes that have a rotation (#5389)
mockersf Jul 20, 2022
01f5f8c
Disable UI node `Interaction` when `ComputedVisibility` is false (#5361)
alice-i-cecile Jul 20, 2022
99440c1
removed duplicated doc line in material.rs (#5405)
adsick Jul 20, 2022
4b1f6f4
Add some documentation to standard material fields (#5323)
nicopap Jul 20, 2022
1c23421
dds: Ensure the Extent3d for compressed textures represents the physi…
superdump Jul 20, 2022
a96b3b2
Add stress test for many ui elements (#5253)
nicopap Jul 21, 2022
4b191d9
remove blanket `Serialize + Deserialize` requirement for `Reflect` on…
jakobhellermann Jul 21, 2022
7789463
bevy_asset: add missing doc in wasm (#5407)
mockersf Jul 21, 2022
cfee0e8
Fix various typos (#5417)
rparrett Jul 21, 2022
619c30c
Fix comment typo (#5421)
eiei114 Jul 22, 2022
a7f2120
Wasm optimization tips (#5443)
nicopap Jul 25, 2022
231894a
Lighter no default features (#5447)
mockersf Jul 25, 2022
d478711
Conversion of `ResMut` and `NonSendMut` to `Mut` (#5438)
djeedai Jul 25, 2022
6a1ba9c
Spotlight shadow bugfix (#5451)
robtfm Jul 25, 2022
3561b38
set ndk env variable (#5465)
mockersf Jul 27, 2022
be19c69
Add missing `ReadOnly = Self` bound (#5462)
BoxyUwU Jul 27, 2022
c6a41cd
ImageSampler linear/nearest constructors (#5466)
cart Jul 27, 2022
eed6843
remove disable-weak-memory-emulation (#5469)
mockersf Jul 27, 2022
5666788
Fix blurry debug texture in 3d shapes example (#5472)
rparrett Jul 28, 2022
4e2600b
text rendering: convert colours only once per section (#5474)
mockersf Jul 28, 2022
2d2ea33
add a debug label to storage buffers (#5341)
Jul 28, 2022
4078273
fix bevy_reflect README (#5477)
mockersf Jul 29, 2022
418beff
Revert "Recalculate entity aabbs when meshes change (#4944)" (#5489)
cart Jul 29, 2022
83a9e16
Replace `many_for_each_mut` with `iter_many_mut`. (#5402)
tim-blackbird Jul 30, 2022
05e5008
Support array / cubemap / cubemap array textures in KTX2 (#5325)
superdump Jul 30, 2022
856588e
Release 0.8.0 (#5490)
github-actions[bot] Jul 30, 2022
0149c41
Update changelog for 0.8.0 (#5494)
cart Jul 30, 2022
6752c9c
Fix View by adding missing fields present in ViewUniform (#5512)
Azervu Jul 31, 2022
bf085ee
Remove `Size` and `UiRect` generics (#5404)
Aug 1, 2022
f3b5bf0
Add `FromWorld` bound to `T` in `Local<T>` (#5481)
PROMETHIA-27 Aug 1, 2022
8255185
Add docs for arguments of various color functions (#5533)
rparrett Aug 2, 2022
fdcffb8
Remove duplicate `RenderGraph` insertion to render world (#5551)
0x182d4454fb211940 Aug 2, 2022
a9cb18e
add default direction to DirectionalLight docs (#5188)
strattonbrazil Aug 2, 2022
15826d6
bevy_reflect: Reflect enums (#4761)
Davier Aug 2, 2022
bd00858
bevy_reflect: Update enum derives (#5473)
MrGVSV Aug 2, 2022
07d5769
fix order of exit/close window systems (#5558)
mockersf Aug 3, 2022
eabcd27
make `WorldQuery` very flat (#5205)
BoxyUwU Aug 4, 2022
97fdbad
Added reflect/from reflect impls for NonZero integer types (#5556)
maxwellodri Aug 4, 2022
13b4a7d
Add `Projection` component to prelude. (#5557)
tim-blackbird Aug 4, 2022
765e8d7
Fix lifetime bound on `From` impl for `NonSendMut` -> `Mut` (#5560)
maccesch Aug 4, 2022
90d1dc8
Add `bevy_render::texture::ImageSettings` to prelude (#5566)
Piturnah Aug 4, 2022
0ffb544
changed diagnostics from seconds to milliseconds (#5554)
McSpidey Aug 4, 2022
4441500
Bump Version after Release (#5576)
github-actions[bot] Aug 5, 2022
704d8e2
Sync up bevy_sprite and bevy_ui shader View struct (#5531)
superdump Aug 5, 2022
54750de
Document `gamepad.rs` (#5548)
Aug 5, 2022
c37939d
Make `Children` constructor `pub(crate)`. (#5532)
tim-blackbird Aug 5, 2022
1152111
Added keyboard scan input event (#5495)
Bleb1k Aug 5, 2022
c27cc59
Remove unnecessary `use` from examples (#5583)
Piturnah Aug 6, 2022
cd19d27
use bevy_default() for texture format in post_processing (#5601)
contagnas Aug 7, 2022
51fce7e
Update license link in README.md (#5614)
Piturnah Aug 8, 2022
2ac7443
Fix shader syntax (#5613)
timokoesters Aug 8, 2022
992681b
Make `Resource` trait opt-in, requiring `#[derive(Resource)]` V2 (#5577)
tim-blackbird Aug 8, 2022
b80636b
don't render completely transparent UI nodes (#5537)
mockersf Aug 8, 2022
a9634c7
Make internal struct `ShaderData` non-`pub` (#5609)
djeedai Aug 8, 2022
397b6df
Add into_world_mut to EntityMut (#5586)
nicopap Aug 8, 2022
fcb77d6
remove `ReflectMut` in favor of `Mut<dyn Reflect>` (#5630)
jakobhellermann Aug 9, 2022
fe97b38
fix: typo in system params docs (#5624)
AlexOkafor Aug 9, 2022
166279e
add some info from `ReflectPathError` to the error messages (#5626)
jakobhellermann Aug 9, 2022
5595733
drop old value in `insert_resource_by_id` if exists (#5587)
jakobhellermann Aug 9, 2022
de6bef7
Fix for bevy CI on main - clippy safety comments on trait. (#5665)
BorisBoutillier Aug 13, 2022
0e46b04
Grammar fixes in render graph doc (#5671)
contagnas Aug 13, 2022
d1e5c50
Use latest stable version for CI 'build' job (#5672)
TimJentzsch Aug 13, 2022
e84e391
Remove unneeded skipped crates for duplicate dependencies (#5678)
TimJentzsch Aug 14, 2022
f1be89d
Remove unused DepthCalculation enum (#5684)
contagnas Aug 14, 2022
5ba5c8e
insert_attribute panic with full message (#5651)
IceSentry Aug 15, 2022
a70b9c5
Remove duplicate asserts in test (#5648)
BorisBoutillier Aug 15, 2022
21dacbf
fix typos in examples (#5711)
Ptrskay3 Aug 16, 2022
bd317ea
register `Cow<'static, str>` for reflection (#5664)
maccesch Aug 16, 2022
1108311
Make vertex colors work without textures in bevy_sprite (#5685)
Aug 16, 2022
f20c9ee
fix: grammar and typo fixes in rendergraph docs (#5710)
AlexOkafor Aug 16, 2022
f9104b7
Use circle for breakout example (#5657)
tkgalk Aug 16, 2022
3221e56
Remove an outdated workaround for `impl Trait` (#5659)
joseph-gio Aug 16, 2022
aed3232
bevy_reflect: Relax bounds on `Option<T>` (#5658)
MrGVSV Aug 17, 2022
56fc1df
Correctly use as_hsla_f32 in Add<Color> and AddAssign<Color>, fixes #…
Aug 17, 2022
f0c5127
SystemParam for the name of the system you are currently in (#5731)
Aceeri Aug 18, 2022
00508d1
bevy_reflect: Add `FromReflect` to the prelude (#5720)
MrGVSV Aug 18, 2022
00323b3
Better error message for `World::resource_scope` (#5727)
NathanSWard Aug 18, 2022
1c6be94
Correctly parse labels with '#' (#5729)
merelymyself Aug 18, 2022
681c9c6
bevy_pbr: Fix tangent and normal normalization (#5666)
superdump Aug 18, 2022
04538fd
fixes the types for Vec3 and Quat in scene example to remove WARN fro…
tkgalk Aug 20, 2022
cde5ae8
bevy_ecs: Use 32-bit entity ID cursor on platforms without AtomicI64 …
ian-h-chamberlain Aug 21, 2022
675607a
Add AUTO and UNDEFINED const constructors for `Size` (#5761)
Weibye Aug 22, 2022
307f8b6
WIP: depth prepass hacks
superdump Sep 12, 2022
ac7b907
WIP: More, also broken, depth prepass
superdump Sep 13, 2022
5fc19e5
add prepass texture bindings
robtfm Sep 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 7 additions & 4 deletions .cargo/config_fast_builds
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
# Rename this file to `config.toml` to enable "fast build" configuration. Please read the notes below.
# Add the contents of this file to `config.toml` to enable "fast build" configuration. Please read the notes below.

# NOTE: For maximum performance, build using a nightly compiler
# If you are using rust stable, remove the "-Zshare-generics=y" below.

[target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang"
linker = "clang"
rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]

# NOTE: you must manually install https://github.com/michaeleisel/zld on mac. you can easily do this with the "brew" package manager:
# `brew install michaeleisel/zld/zld`
[target.x86_64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y", "-Zrun-dsymutil=no"]
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y"]

[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/bin/zld", "-Zshare-generics=y"]

[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe"
rustflags = ["-Zshare-generics=y"]
rustflags = ["-Zshare-generics=n"]

# Optional: Uncommenting the following improves compile times, but reduces the amount of debug info to 'line number tables only'
# In most cases the gains are negligible, but if you are on macos and have slow compile times you should see significant gains.
Expand Down
19 changes: 19 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# From: https://docs.github.com/en/github/getting-started-with-github/configuring-git-to-handle-line-endings
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.rs text eol=lf
*.toml text eol=lf
*.frag text eol=lf
*.vert text eol=lf
*.wgsl text eol=lf

# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.ttf binary
55 changes: 55 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
name: Bug Report
about: Report a bug to help us improve!
title: ''
labels: C-Bug, S-Needs-Triage
assignees: ''
---

## Bevy version

The release number or commit hash of the version you're using.

## \[Optional\] Relevant system information

If you cannot get Bevy to build or run on your machine, please include:

- the Rust version you're using (you can get this by running `cargo --version`)
- Bevy relies on the "latest stable release" of Rust
- nightly should generally work, but there are sometimes regressions: please let us know!
- the operating system or browser used, including its version
- e.g. Windows 10, Ubuntu 18.04, iOS 14

If your bug is rendering-related, copy the adapter info that appears when you run Bevy.

```ignore
`AdapterInfo { name: "NVIDIA GeForce RTX 2070", vendor: 4318, device: 7938, device_type: DiscreteGpu, backend: Vulkan }`
```

You should also consider testing the examples of our upstream dependencies to help isolate any setup-specific issue:

- [`wgpu`](https://github.com/gfx-rs/wgpu) for rendering problems
- [`winit`](https://github.com/rust-windowing/winit) for input and window management
- [`gilrs`](https://docs.rs/gilrs/latest/gilrs/) for gamepad inputs

## What you did

Describe how you arrived at the problem. If you can, consider providing a code snippet or link.

## What went wrong

If it's not clear, break this out into:

- what were you expecting?
- what actually happened?

## Additional information

Other information that can be used to further reproduce or isolate the problem.
This commonly includes:

- screenshots
- logs
- theories about what might be going wrong
- workarounds that you used
- links to related bugs, PRs or discussions
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
contact_links:
- name: Question
url: https://github.com/bevyengine/bevy/discussions/categories/q-a
about: Questions about how to use or contribute to Bevy belong in Github Discussions.
You can use the search to check if someone already answered your question!
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/docs_improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Docs Improvement
about: Help us write better docs to catch common issues!
title: ''
labels: C-Docs, S-Needs-Triage
assignees: ''
---

## How can Bevy's documentation be improved?

Provide a link to the documentation and describe how it could be improved. In what ways is it incomplete, incorrect, or misleading?

If you have suggestions on exactly what the new docs should say, feel free to include them here. Or alternatively, make the changes yourself and [create a pull request](https://bevyengine.org/learn/book/contributing/code/) instead.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Feature Request
about: Propose a new feature!
title: ''
labels: C-Enhancement, S-Needs-Triage
assignees: ''
---

## What problem does this solve or what need does it fill?

A description of why this particular feature should be added.

## What solution would you like?

The solution you propose for the problem presented.

## What alternative(s) have you considered?

Other solutions to solve and/or work around the problem presented.

## Additional context

Any other information you would like to add such as related previous work,
screenshots, benchmarks, etc.
20 changes: 20 additions & 0 deletions .github/bors.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
status = [
"build (windows-latest)",
"build (ubuntu-latest)",
"build (macos-latest)",
"build-wasm",
"build-android",
"markdownlint",
"run-examples",
"run-examples-on-wasm",
"check-doc",
"check-missing-examples-in-docs",
# "check-unused-dependencies",
"ci",
"check-compiles",
"build-and-install-on-iOS",
"run-examples-on-windows-dx12",
]

use_squash_merge = true
block_labels = ["S-Pre-Relicense"]
38 changes: 38 additions & 0 deletions .github/contributing/engine_style_guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Style guide: Engine

## Contributing

For more advice on contributing to the engine, see the [relevant section](../../CONTRIBUTING.md#Contributing-your-own-ideas) of `CONTRIBUTING.md`.

## General guidelines

1. Prefer granular imports over glob imports like `bevy_ecs::prelude::*`.
2. Use a consistent comment style:
1. `///` doc comments belong above `#[derive(Trait)]` invocations.
2. `//` comments should generally go above the line in question, rather than in-line.
3. Avoid `/* */` block comments, even when writing long comments.
4. Use \`variable_name\` code blocks in comments to signify that you're referring to specific types and variables.
5. Start comments with capital letters. End them with a period if they are sentence-like.
3. Use comments to organize long and complex stretches of code that can't sensibly be refactored into separate functions.

## Rust API guidelines

As a reference for our API development we are using the [Rust API guidelines][Rust API guidelines]. Generally, these should be followed, except for the following areas of disagreement:

### Areas of disagreements

Some areas mentioned in the [Rust API guidelines][Rust API guidelines] we do not agree with. These areas will be expanded whenever we find something else we do not agree with, so be sure to check these from time to time.

> All items have a rustdoc example

- This guideline is too strong and not applicable for everything inside of the Bevy game engine. For functionality that requires more context or needs a more interactive demonstration (such as rendering or input features), make use of the `examples` folder instead.

> Examples use ?, not try!, not unwrap

- This guideline is usually reasonable, but not always required.

> Only smart pointers implement Deref and DerefMut

- Generally a good rule of thumb, but we're probably going to deliberately violate this for single-element wrapper types like `Life(u32)`. The behavior is still predictable and it significantly improves ergonomics / new user comprehension.

[Rust API guidelines]: https://rust-lang.github.io/api-guidelines/about.html
64 changes: 64 additions & 0 deletions .github/contributing/example_style_guide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Style guide: Examples

For more advice on writing examples, see the [relevant section](../../CONTRIBUTING.md#writing-examples) of CONTRIBUTING.md.

## Organization

1. Examples should live in an appropriate subfolder of `/examples`.
2. Examples should be a single file if possible.
3. Assets live in `./assets`. Try to avoid adding new assets unless strictly necessary to keep the repo small. Don't add "large" asset files.
4. Each example should try to follow this order:
1. Imports
2. A `fn main()` block
3. Example logic
5. Try to structure app / plugin construction in the same fashion as the actual code.
6. Examples should typically not have tests, as they are not directly reusable by the Bevy user.

## Stylistic preferences

1. Use simple, descriptive variable names.
1. Avoid names like `MyComponent` in favor of more descriptive terms like `Events`.
2. Prefer single letter differentiators like `EventsA` and `EventsB` to nonsense words like `EventsFoo` and `EventsBar`.
3. Avoid repeating the type of variables in their name where possible. For example, `Color` should be preferred to `ColorComponent`.
2. Prefer glob imports of `bevy::prelude::*` and `bevy::sub_crate::*` over granular imports (for terseness).
3. Use a consistent comment style:
1. `///` doc comments belong above `#[derive(Trait)]` invocations.
2. `//` comments should generally go above the line in question, rather than in-line.
3. Avoid `/* */` block comments, even when writing long comments.
4. Use \`variable_name\` code blocks in comments to signify that you're referring to specific types and variables.
5. Start comments with capital letters; end them with a period if they are sentence-like.
4. Use comments to organize long and complex stretches of code that can't sensibly be refactored into separate functions.
5. Avoid making variables `pub` unless it is needed for your example.

## Code conventions

1. Refactor configurable values ("magic numbers") out into constants with clear names.
2. Prefer `for` loops over `.for_each`. The latter is faster (for now), but it is less clear for beginners, less idiomatic, and less flexible.
3. Use `.single` and `.single_mut` where appropriate.
4. In Queries, prefer `With<T>` filters over actually fetching unused data with `&T`.
5. Prefer disjoint queries using `With` and `Without` over param sets when you need more than one query in a single system.
6. Prefer structs with named fields over tuple structs except in the case of single-field wrapper types.
7. Use enum-labels over string-labels for system / stage / etc. labels.

## "Feature" examples

These examples demonstrate the usage of specific engine features in clear, minimal ways.

1. Focus on demonstrating exactly one feature in an example
2. Try to keep your names divorced from the context of a specific game, and focused on the feature you are demonstrating.
3. Where they exist, show good alternative approaches to accomplish the same task and explain why you may prefer one over the other.
4. Examples should have a visible effect when run, either in the command line or a graphical window.

## "Game" examples

These examples show how to build simple games in Bevy in a cohesive way.

1. Each of these examples lives in the [/examples/games] folder.
2. Aim for minimum but viable status: the game should be playable and not obviously buggy but does not need to be polished, featureful, or terribly fun.
3. Focus on code quality and demonstrating good, extensible patterns for users.
1. Make good use of enums and states to organize your game logic.
2. Keep components as small as possible but no smaller: all of the data on a component should generally be accessed at once.
3. Keep systems small: they should have a clear single purpose.
4. Avoid duplicating logic across similar entities whenever possible by sharing systems and components.
4. Use `///` doc comments to explain what each function / struct does as if the example were part of a polished production codebase.
5. Arrange your code into modules within the same file to allow for simple code folding / organization.
5 changes: 4 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ updates:
directory: /
schedule:
interval: weekly

labels:
- "C-Dependencies"
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
labels:
- "C-Dependencies"
3 changes: 3 additions & 0 deletions .github/example-run/alien_cake_addict.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(
exit_after: Some(300)
)
3 changes: 3 additions & 0 deletions .github/example-run/breakout.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(
exit_after: Some(900)
)
3 changes: 3 additions & 0 deletions .github/example-run/contributors.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(
exit_after: Some(900)
)
3 changes: 3 additions & 0 deletions .github/example-run/load_gltf.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(
exit_after: Some(300)
)
3 changes: 3 additions & 0 deletions .github/example-run/minimising.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(
exit_after: Some(90)
)
3 changes: 3 additions & 0 deletions .github/example-run/no_renderer.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(
exit_after: Some(100)
)
4 changes: 4 additions & 0 deletions .github/example-run/resizing.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(
// Ensures that the full cycle will run
exit_after: Some(410)
)
3 changes: 3 additions & 0 deletions .github/example-run/scene.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(
exit_after: Some(100)
)
3 changes: 3 additions & 0 deletions .github/linters/.markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"MD013": false
}
27 changes: 27 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Objective

- Describe the objective or issue this PR addresses.
- If you're fixing a specific issue, say "Fixes #X".

## Solution

- Describe the solution used to achieve the objective above.

---

## Changelog

> This section is optional. If this was a trivial fix, or has no externally-visible impact, you can delete this section.

- What changed as a result of this PR?
- If applicable, organize changes under "Added", "Changed", or "Fixed" sub-headings
- Stick to one or two sentences. If more detail is needed for a particular change, consider adding it to the "Solution" section
- If you can't summarize the work, your change may be unreasonably large / unrelated. Consider splitting your PR to make it easier to review and merge!

## Migration Guide

> This section is optional. If there are no breaking changes, you can delete this section.

- If this PR is a breaking change (relative to the last release of Bevy), describe how a user might need to migrate their code to support these changes
- Simply adding new functionality is not a breaking change.
- Fixing behavior that was definitely a bug, rather than a questionable design choice is not a breaking change.
4 changes: 4 additions & 0 deletions .github/start-wasm-example/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
/test-results/
/playwright-report/
/playwright/.cache/
Loading