Skip to content
Snippets Groups Projects
Commit c71492b9 authored by Christopher Biscardi's avatar Christopher Biscardi
Browse files

Start upgrade to 0.7

- [x] `GpuImage` requires `texture_format` now.
- [ ] `ActiveCameras` was removed
  - https://github.com/bevyengine/bevy/commit/bf6de8962287050369cd98605490bdd7770c87b4
- [x] `CachedPipelineId` is now `CachedRenderPipelineId` and renamed `RenderPipelineCache` to `PipelineCache`
  - https://github.com/bevyengine/bevy/pull/3979
parent a335cb45
No related branches found
No related tags found
No related merge requests found
...@@ -186,18 +186,18 @@ checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" ...@@ -186,18 +186,18 @@ checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
[[package]] [[package]]
name = "bevy" name = "bevy"
version = "0.6.1" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97342ea2f3bad36be2ded1d1fbd569ff83147b70697f12f1579e87a7480afa36" checksum = "4fce306d40a111309ee61d4626efbafccdd46bb80657122c38061fa7264c08e4"
dependencies = [ dependencies = [
"bevy_internal", "bevy_internal",
] ]
[[package]] [[package]]
name = "bevy-crevice-derive" name = "bevy-crevice-derive"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d4cf594c9277eb1e426f45a00eaf70aa9ffdf479268d7e4538270263811e20bc" checksum = "191a752a01c3402deb24320acf42288bf822e5d22f19ae1d903797f02e9b0c33"
dependencies = [ dependencies = [
"bevy_macro_utils", "bevy_macro_utils",
"proc-macro2", "proc-macro2",
...@@ -205,11 +205,28 @@ dependencies = [ ...@@ -205,11 +205,28 @@ dependencies = [
"syn", "syn",
] ]
[[package]]
name = "bevy_animation"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c087569c34b168dd988e8b3409ce273661b4a58c3c534d0e381950589f59f68e"
dependencies = [
"bevy_app",
"bevy_asset",
"bevy_core",
"bevy_ecs",
"bevy_hierarchy",
"bevy_math",
"bevy_reflect",
"bevy_transform",
"bevy_utils",
]
[[package]] [[package]]
name = "bevy_app" name = "bevy_app"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "58fe3d3f4140fb11cd294f43be7cb66a5783d9277ba0270743e2860e32b25ab5" checksum = "32660ae99fa3498ca379de28b7e2f447e6531b0e432bf200901efeec075553c1"
dependencies = [ dependencies = [
"bevy_derive", "bevy_derive",
"bevy_ecs", "bevy_ecs",
...@@ -221,9 +238,9 @@ dependencies = [ ...@@ -221,9 +238,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_asset" name = "bevy_asset"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eb68a0259e2f857a32c4f05eb9b9447db1072297c61864ad07d02fea1838bde9" checksum = "f2afd395240087924ba49c8cae2b00d007aeb1db53ee726a543b1e90dce2d3ab"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bevy_app", "bevy_app",
...@@ -249,9 +266,9 @@ dependencies = [ ...@@ -249,9 +266,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_audio" name = "bevy_audio"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0291276cf0dd1dbbf3393112d0e0276e4110f633965542123b830d8dae44fff3" checksum = "73a1c827ae837b62868539040176fb6d4daecf24983b98a0284d158e52cd21d5"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bevy_app", "bevy_app",
...@@ -265,9 +282,9 @@ dependencies = [ ...@@ -265,9 +282,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_core" name = "bevy_core"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1c156430a5312c04a1b25fa434eeeab6349a41c6bb96ea0385406d53b3c43658" checksum = "12c0f8614b6014671ab60bacb8bf681373d08b0bb15633b8ef72b895cf966d29"
dependencies = [ dependencies = [
"bevy_app", "bevy_app",
"bevy_derive", "bevy_derive",
...@@ -281,22 +298,23 @@ dependencies = [ ...@@ -281,22 +298,23 @@ dependencies = [
[[package]] [[package]]
name = "bevy_core_pipeline" name = "bevy_core_pipeline"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b422dca94195c904964ab21bc4557fbd11f692c299d46e38364715ac931841e" checksum = "74d570bc9310196190910a5b1ffd8c8c35bd6b73f918d0651ae3c3d4e57be9a7"
dependencies = [ dependencies = [
"bevy_app", "bevy_app",
"bevy_asset", "bevy_asset",
"bevy_core", "bevy_core",
"bevy_ecs", "bevy_ecs",
"bevy_render", "bevy_render",
"bevy_utils",
] ]
[[package]] [[package]]
name = "bevy_crevice" name = "bevy_crevice"
version = "0.6.1" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c684de72f710da0a701d1d2fe2a481241709d66f43215bcc9d7f9f0818d1cb15" checksum = "3da0a284fb26c02cb96ef4d5bbf4de5fad7e1a901730035a61813bf64e28482e"
dependencies = [ dependencies = [
"bevy-crevice-derive", "bevy-crevice-derive",
"bytemuck", "bytemuck",
...@@ -306,9 +324,9 @@ dependencies = [ ...@@ -306,9 +324,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_derive" name = "bevy_derive"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "918dc0dff01e8b4e8f989db89d74fd4042810ea80a70642d0459b3c265995e59" checksum = "6abddf2ed415f31d28a9bf9ab3c0bc857e98a722858d38dba65bdda481f8d714"
dependencies = [ dependencies = [
"bevy_macro_utils", "bevy_macro_utils",
"quote", "quote",
...@@ -317,9 +335,9 @@ dependencies = [ ...@@ -317,9 +335,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_diagnostic" name = "bevy_diagnostic"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "adbe98f48873d4b20f6479723de18d957f4bc00c653efd36c245e6a66d6e8b71" checksum = "6ebf72ea058cfc379756e9da7de6861174e1860504f41e3e5a46d5b1c35d6644"
dependencies = [ dependencies = [
"bevy_app", "bevy_app",
"bevy_core", "bevy_core",
...@@ -330,9 +348,9 @@ dependencies = [ ...@@ -330,9 +348,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_ecs" name = "bevy_ecs"
version = "0.6.1" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6daf05da2680a14b17a4b669879fa7186abb80e7fbe400fb02c0c62628d1e200" checksum = "79e67dd06b14e787d2026fe6e2b63f67482afcc62284f20ea2784d8b0662e95f"
dependencies = [ dependencies = [
"async-channel", "async-channel",
"bevy_ecs_macros", "bevy_ecs_macros",
...@@ -348,9 +366,9 @@ dependencies = [ ...@@ -348,9 +366,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_ecs_macros" name = "bevy_ecs_macros"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7e9e664b3ea45cfc9ab3251ee0255dfa6410f675b3a405e7bac8e59b2d76aa9" checksum = "718923a491490bd81074492d61fc08134f9c62a29ba8666818cd7a6630421246"
dependencies = [ dependencies = [
"bevy_macro_utils", "bevy_macro_utils",
"proc-macro2", "proc-macro2",
...@@ -360,9 +378,9 @@ dependencies = [ ...@@ -360,9 +378,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_gilrs" name = "bevy_gilrs"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b457f720b1c54ede34afd6007beae3708503c0dd7a4ab4b416e36cb8bbd05ac1" checksum = "15b164983e8057a1a730412a7c26ccc540d9ce76d2c6ab68edd258a0baeb1762"
dependencies = [ dependencies = [
"bevy_app", "bevy_app",
"bevy_ecs", "bevy_ecs",
...@@ -373,16 +391,18 @@ dependencies = [ ...@@ -373,16 +391,18 @@ dependencies = [
[[package]] [[package]]
name = "bevy_gltf" name = "bevy_gltf"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34e4711f4f77542dccd59eec249c98f02e34e28a25ee079c14cd351061d08e5c" checksum = "2e07bda7721091c1a683343d466132dc69dec65aa83d8c9e328a2fb3431f03be"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64", "base64",
"bevy_animation",
"bevy_app", "bevy_app",
"bevy_asset", "bevy_asset",
"bevy_core", "bevy_core",
"bevy_ecs", "bevy_ecs",
"bevy_hierarchy",
"bevy_log", "bevy_log",
"bevy_math", "bevy_math",
"bevy_pbr", "bevy_pbr",
...@@ -396,11 +416,24 @@ dependencies = [ ...@@ -396,11 +416,24 @@ dependencies = [
"thiserror", "thiserror",
] ]
[[package]]
name = "bevy_hierarchy"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2f407f152f35541a099484200afe3b0ca09ce625469e8233dcdc264d6f88e01a"
dependencies = [
"bevy_app",
"bevy_ecs",
"bevy_reflect",
"bevy_utils",
"smallvec",
]
[[package]] [[package]]
name = "bevy_input" name = "bevy_input"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33989693efa636960dd40e540029ed7b7bc1af2f3eef26c009555b5e2a4e185a" checksum = "ff4ec4f6e38ef1b41ff68ec7badd6afc5c9699191e61e511c4abee91a5888afc"
dependencies = [ dependencies = [
"bevy_app", "bevy_app",
"bevy_ecs", "bevy_ecs",
...@@ -410,10 +443,11 @@ dependencies = [ ...@@ -410,10 +443,11 @@ dependencies = [
[[package]] [[package]]
name = "bevy_internal" name = "bevy_internal"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f92af28d95bba80d11840c24fa4ce8ff84ae27af1def2f5cf8a6891acce5d714" checksum = "d518a8e5f526a9537fc8408a284caec7af22b23c3b23c0dee08bacc0930e2f1a"
dependencies = [ dependencies = [
"bevy_animation",
"bevy_app", "bevy_app",
"bevy_asset", "bevy_asset",
"bevy_audio", "bevy_audio",
...@@ -424,6 +458,7 @@ dependencies = [ ...@@ -424,6 +458,7 @@ dependencies = [
"bevy_ecs", "bevy_ecs",
"bevy_gilrs", "bevy_gilrs",
"bevy_gltf", "bevy_gltf",
"bevy_hierarchy",
"bevy_input", "bevy_input",
"bevy_log", "bevy_log",
"bevy_math", "bevy_math",
...@@ -470,9 +505,9 @@ dependencies = [ ...@@ -470,9 +505,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_log" name = "bevy_log"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9bf0083e72bf76cbfa6607311ac6baef2f4f7c9306c35942cece8c0589cd3e5e" checksum = "943ec496720ded2ff62b292d8e5fc845817a504915f41b7c5fd12b1380300f75"
dependencies = [ dependencies = [
"android_log-sys", "android_log-sys",
"bevy_app", "bevy_app",
...@@ -485,9 +520,9 @@ dependencies = [ ...@@ -485,9 +520,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_macro_utils" name = "bevy_macro_utils"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57cf90b3b67606d0818cdac6c9134eb66fa174959977a4abba893364a571a7cd" checksum = "b7ddfc33a99547e36718e56e414541e461c74ec318ff987a1e9f4ff46d0dacbb"
dependencies = [ dependencies = [
"cargo-manifest", "cargo-manifest",
"quote", "quote",
...@@ -496,9 +531,9 @@ dependencies = [ ...@@ -496,9 +531,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_math" name = "bevy_math"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6b0f9ebf2ef80a8fff3e5dca817594071004048cd089e72b9a1bf4e494b66112" checksum = "20288df0f70ff258bbaffaf55209f1271a7436438591bbffc3d81e4d84b423f2"
dependencies = [ dependencies = [
"bevy_reflect", "bevy_reflect",
"glam", "glam",
...@@ -506,9 +541,9 @@ dependencies = [ ...@@ -506,9 +541,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_pbr" name = "bevy_pbr"
version = "0.6.1" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41724d89746d54f7f8c8e522f9d0b1232a8a289e0d270482175d23774dc2362a" checksum = "06adee54840f18cfeda7af4cdc57608644fa840be076a562353f896bfdb9c694"
dependencies = [ dependencies = [
"bevy_app", "bevy_app",
"bevy_asset", "bevy_asset",
...@@ -527,9 +562,9 @@ dependencies = [ ...@@ -527,9 +562,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_reflect" name = "bevy_reflect"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d84ce8cbd484a39d67171831eaf72c20d2684de71f1e9d79333c8dd6d6f3ebca" checksum = "4d0793107bc4b7c6bd04232d739fc8d70aa5fb313bfad6e850f91f79b2557eed"
dependencies = [ dependencies = [
"bevy_reflect_derive", "bevy_reflect_derive",
"bevy_utils", "bevy_utils",
...@@ -544,9 +579,9 @@ dependencies = [ ...@@ -544,9 +579,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_reflect_derive" name = "bevy_reflect_derive"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7af3100febf44583a7c052d1469fbdb411f56aa85729333a0ac106a016bd379c" checksum = "81c88de8067d19dfde31662ee78e3ee6971e2df27715799f91b515b37a636677"
dependencies = [ dependencies = [
"bevy_macro_utils", "bevy_macro_utils",
"proc-macro2", "proc-macro2",
...@@ -557,9 +592,9 @@ dependencies = [ ...@@ -557,9 +592,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_render" name = "bevy_render"
version = "0.6.1" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac0d5409e5e3d48f3192f78e37bedea29aa0c674083e51aaa7e945496913d2c2" checksum = "6a358da8255b704153913c3499b3693fa5cfe13a48725ac6e76b043fa5633bc8"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bevy_app", "bevy_app",
...@@ -593,16 +628,16 @@ dependencies = [ ...@@ -593,16 +628,16 @@ dependencies = [
[[package]] [[package]]
name = "bevy_scene" name = "bevy_scene"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21eb2b01e4d1b074c75ea59a92409739cac24b56b1c723491ef80936d50e95df" checksum = "2ea240f2ffce9f58a5601cc5ead24111f577dc4c656452839eb1fdf4b7a28529"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bevy_app", "bevy_app",
"bevy_asset", "bevy_asset",
"bevy_ecs", "bevy_ecs",
"bevy_hierarchy",
"bevy_reflect", "bevy_reflect",
"bevy_transform",
"bevy_utils", "bevy_utils",
"ron", "ron",
"serde", "serde",
...@@ -612,9 +647,9 @@ dependencies = [ ...@@ -612,9 +647,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_sprite" name = "bevy_sprite"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "66439831ff57c11c7fb2692e7ccf8d0551f4368a9908908d3c38f2da53115b33" checksum = "5fcecfbc623410137d85a71a295ff7c16604b7be24529c9ea4b9a9881d7a142b"
dependencies = [ dependencies = [
"bevy_app", "bevy_app",
"bevy_asset", "bevy_asset",
...@@ -638,9 +673,9 @@ dependencies = [ ...@@ -638,9 +673,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_tasks" name = "bevy_tasks"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9dc4bce7f4cddbb489636092f52478b103dc26ee8526c585289bbdd9c0d0a99f" checksum = "db2b0f0b86c8f78c53a2d4c669522f45e725ed9d9c3d734f54ec30876494e04e"
dependencies = [ dependencies = [
"async-channel", "async-channel",
"async-executor", "async-executor",
...@@ -652,9 +687,9 @@ dependencies = [ ...@@ -652,9 +687,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_text" name = "bevy_text"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "233c4bb933435e8e6c34a1310317fd7f8c6617526270de572e643816070b236a" checksum = "a206112de011fd6baebaf476af69d87f4e38a1314b65e3c872060830d7c0b9fa"
dependencies = [ dependencies = [
"ab_glyph", "ab_glyph",
"anyhow", "anyhow",
...@@ -676,23 +711,22 @@ dependencies = [ ...@@ -676,23 +711,22 @@ dependencies = [
[[package]] [[package]]
name = "bevy_transform" name = "bevy_transform"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9974c494f9cc721df46d2ba27c6a8df2a955ed8360a23adabd2bd66d1f73fa8f" checksum = "aa2f7a77900fb23f24ca312c1f8df3eb47a45161326f41e9b4ef05b039793503"
dependencies = [ dependencies = [
"bevy_app", "bevy_app",
"bevy_ecs", "bevy_ecs",
"bevy_hierarchy",
"bevy_math", "bevy_math",
"bevy_reflect", "bevy_reflect",
"bevy_utils",
"smallvec",
] ]
[[package]] [[package]]
name = "bevy_ui" name = "bevy_ui"
version = "0.6.1" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbdb34595bd7be349fba8038b970acbe632f70b98737318b2327c7c7cd557767" checksum = "c65e79658d8a3d4da087a6fb8b229cfe1455cda2c4e8e6305b3b44fb46fb1d30"
dependencies = [ dependencies = [
"bevy_app", "bevy_app",
"bevy_asset", "bevy_asset",
...@@ -700,6 +734,7 @@ dependencies = [ ...@@ -700,6 +734,7 @@ dependencies = [
"bevy_core_pipeline", "bevy_core_pipeline",
"bevy_derive", "bevy_derive",
"bevy_ecs", "bevy_ecs",
"bevy_hierarchy",
"bevy_input", "bevy_input",
"bevy_log", "bevy_log",
"bevy_math", "bevy_math",
...@@ -718,13 +753,14 @@ dependencies = [ ...@@ -718,13 +753,14 @@ dependencies = [
[[package]] [[package]]
name = "bevy_utils" name = "bevy_utils"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "252f6674aa3ba68bacfec506b91570a3cc206ad09b7ef4b23661959ef0246396" checksum = "2f354c584812996febd48cc885f36b23004b49d6680e73fc95a69a2bb17a48e5"
dependencies = [ dependencies = [
"ahash", "ahash",
"bevy_derive", "bevy_derive",
"getrandom", "getrandom",
"hashbrown",
"instant", "instant",
"tracing", "tracing",
"uuid", "uuid",
...@@ -732,11 +768,12 @@ dependencies = [ ...@@ -732,11 +768,12 @@ dependencies = [
[[package]] [[package]]
name = "bevy_window" name = "bevy_window"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f4b52b766baf565e96f24f61dbc51bc85151f23202fed2b3650769f2edd0b21" checksum = "04fe33d177e10b2984fa90c1d19496fc6f6e7b36d4442699d359e2b4b507873d"
dependencies = [ dependencies = [
"bevy_app", "bevy_app",
"bevy_ecs",
"bevy_math", "bevy_math",
"bevy_utils", "bevy_utils",
"raw-window-handle", "raw-window-handle",
...@@ -745,9 +782,9 @@ dependencies = [ ...@@ -745,9 +782,9 @@ dependencies = [
[[package]] [[package]]
name = "bevy_winit" name = "bevy_winit"
version = "0.6.1" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0d4a4bed46200615e070897a551d2389d49cdaff048e825e7fa6caef4dc57c6" checksum = "a7c0e3b94cc73907f8a9f82945ca006a39ed2ab401aca0974b47a007a468509f"
dependencies = [ dependencies = [
"approx", "approx",
"bevy_app", "bevy_app",
...@@ -1555,9 +1592,9 @@ dependencies = [ ...@@ -1555,9 +1592,9 @@ dependencies = [
[[package]] [[package]]
name = "gltf" name = "gltf"
version = "0.16.0" version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ff38b75359a0096dd0a8599b6e4f37a6ee41d5df300cc7669e62aafa697f7a2" checksum = "00e0a0eace786193fc83644907097285396360e9e82e30f81a21e9b1ba836a3e"
dependencies = [ dependencies = [
"byteorder", "byteorder",
"gltf-json", "gltf-json",
...@@ -1566,9 +1603,9 @@ dependencies = [ ...@@ -1566,9 +1603,9 @@ dependencies = [
[[package]] [[package]]
name = "gltf-derive" name = "gltf-derive"
version = "0.16.0" version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f2a9333e0f9c7bca94dfc20bcf44fa12a61eeec662d6e007563ff748aa59c70" checksum = "bdd53d6e284bb2bf02a6926e4cc4984978c1990914d6cd9deae4e31cf37cd113"
dependencies = [ dependencies = [
"inflections", "inflections",
"proc-macro2", "proc-macro2",
...@@ -1578,9 +1615,9 @@ dependencies = [ ...@@ -1578,9 +1615,9 @@ dependencies = [
[[package]] [[package]]
name = "gltf-json" name = "gltf-json"
version = "0.16.0" version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1414d3a98cbaabdb2f134328b1f6036d14b282febc1df51952a435d2ca17fb6" checksum = "9949836a9ec5e7f83f76fb9bbcbc77f254a577ebbdb0820867bc11979ef97cad"
dependencies = [ dependencies = [
"gltf-derive", "gltf-derive",
"serde", "serde",
...@@ -1655,6 +1692,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" ...@@ -1655,6 +1692,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
dependencies = [ dependencies = [
"ahash", "ahash",
"serde",
] ]
[[package]] [[package]]
...@@ -1674,9 +1712,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" ...@@ -1674,9 +1712,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]] [[package]]
name = "hexasphere" name = "hexasphere"
version = "6.1.0" version = "7.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b219bdb56b14905fa5429636bfc4df0043626642d4586d069a82019130846f5" checksum = "04ab9d20ba513ff1582a7d885e91839f62cf28bef7c56b1b0428ca787315979b"
dependencies = [ dependencies = [
"glam", "glam",
"lazy_static", "lazy_static",
...@@ -2682,9 +2720,9 @@ dependencies = [ ...@@ -2682,9 +2720,9 @@ dependencies = [
[[package]] [[package]]
name = "rodio" name = "rodio"
version = "0.14.0" version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4d98f5e557b61525057e2bc142c8cd7f0e70d75dc32852309bec440e6e046bf9" checksum = "ec0939e9f626e6c6f1989adb6226a039c855ca483053f0ee7c98b90e41cf731e"
dependencies = [ dependencies = [
"cpal", "cpal",
"lewton", "lewton",
......
...@@ -17,14 +17,14 @@ bevy_renderer = [ ...@@ -17,14 +17,14 @@ bevy_renderer = [
] ]
[dependencies] [dependencies]
bevy = { version = "0.6.1", optional = true } bevy = { version = "0.7.0", optional = true }
bevy_kayak_ui = { path = "bevy_kayak_ui", optional = true } bevy_kayak_ui = { path = "bevy_kayak_ui", optional = true }
kayak_core = { path = "kayak_core" } kayak_core = { path = "kayak_core" }
kayak_font = { path = "kayak_font" } kayak_font = { path = "kayak_font" }
kayak_render_macros = { path = "kayak_render_macros" } kayak_render_macros = { path = "kayak_render_macros" }
[dev-dependencies] [dev-dependencies]
bevy = { version = "0.6.1" } bevy = { version = "0.7.0" }
rand = { version = "0.8.4" } rand = { version = "0.8.4" }
[[example]] [[example]]
......
...@@ -5,7 +5,7 @@ edition = "2021" ...@@ -5,7 +5,7 @@ edition = "2021"
[dependencies] [dependencies]
bytemuck = "1.7.2" bytemuck = "1.7.2"
bevy = { version = "0.6.1" } bevy = { version = "0.7.0" }
kayak_font = { path = "../kayak_font" } kayak_font = { path = "../kayak_font" }
serde = "1.0" serde = "1.0"
serde_json = "1.0" serde_json = "1.0"
......
use bevy::core::FloatOrd; use bevy::core::FloatOrd;
use bevy::ecs::prelude::*; use bevy::ecs::prelude::*;
use bevy::render::render_phase::{DrawFunctionId, PhaseItem}; use bevy::render::render_phase::{DrawFunctionId, PhaseItem};
use bevy::render::render_resource::{CachedPipelineId, RenderPassColorAttachment}; use bevy::render::render_resource::{CachedRenderPipelineId, RenderPassColorAttachment};
use bevy::render::{ use bevy::render::{
render_graph::{Node, NodeRunError, RenderGraphContext, SlotInfo, SlotType}, render_graph::{Node, NodeRunError, RenderGraphContext, SlotInfo, SlotType},
render_phase::{DrawFunctions, RenderPhase, TrackedRenderPass}, render_phase::{DrawFunctions, RenderPhase, TrackedRenderPass},
...@@ -13,7 +13,7 @@ use bevy::render::{ ...@@ -13,7 +13,7 @@ use bevy::render::{
pub struct TransparentUI { pub struct TransparentUI {
pub sort_key: FloatOrd, pub sort_key: FloatOrd,
pub entity: Entity, pub entity: Entity,
pub pipeline: CachedPipelineId, pub pipeline: CachedRenderPipelineId,
pub draw_function: DrawFunctionId, pub draw_function: DrawFunctionId,
} }
......
...@@ -16,9 +16,9 @@ use bevy::{ ...@@ -16,9 +16,9 @@ use bevy::{
BindGroup, BindGroupDescriptor, BindGroupEntry, BindGroupLayout, BindGroup, BindGroupDescriptor, BindGroupEntry, BindGroupLayout,
BindGroupLayoutDescriptor, BindGroupLayoutEntry, BindingResource, BindingType, BindGroupLayoutDescriptor, BindGroupLayoutEntry, BindingResource, BindingType,
BlendComponent, BlendFactor, BlendOperation, BlendState, BufferBindingType, BufferSize, BlendComponent, BlendFactor, BlendOperation, BlendState, BufferBindingType, BufferSize,
BufferUsages, BufferVec, CachedPipelineId, ColorTargetState, ColorWrites, BufferUsages, BufferVec, CachedRenderPipelineId, ColorTargetState, ColorWrites,
DynamicUniformVec, Extent3d, FragmentState, FrontFace, MultisampleState, PolygonMode, DynamicUniformVec, Extent3d, FragmentState, FrontFace, MultisampleState, PolygonMode,
PrimitiveState, PrimitiveTopology, RenderPipelineCache, RenderPipelineDescriptor, PrimitiveState, PrimitiveTopology, PipelineCache, RenderPipelineDescriptor,
SamplerBindingType, SamplerDescriptor, Shader, ShaderStages, TextureDescriptor, SamplerBindingType, SamplerDescriptor, Shader, ShaderStages, TextureDescriptor,
TextureDimension, TextureFormat, TextureSampleType, TextureUsages, TextureDimension, TextureFormat, TextureSampleType, TextureUsages,
TextureViewDescriptor, TextureViewDimension, VertexAttribute, VertexBufferLayout, TextureViewDescriptor, TextureViewDimension, VertexAttribute, VertexBufferLayout,
...@@ -46,7 +46,7 @@ pub struct UnifiedPipeline { ...@@ -46,7 +46,7 @@ pub struct UnifiedPipeline {
types_layout: BindGroupLayout, types_layout: BindGroupLayout,
pub(crate) font_image_layout: BindGroupLayout, pub(crate) font_image_layout: BindGroupLayout,
image_layout: BindGroupLayout, image_layout: BindGroupLayout,
pipeline: CachedPipelineId, pipeline: CachedRenderPipelineId,
empty_font_texture: (GpuImage, BindGroup), empty_font_texture: (GpuImage, BindGroup),
default_image: (GpuImage, BindGroup), default_image: (GpuImage, BindGroup),
} }
...@@ -70,7 +70,7 @@ impl FromWorld for UnifiedPipeline { ...@@ -70,7 +70,7 @@ impl FromWorld for UnifiedPipeline {
fn from_world(world: &mut World) -> Self { fn from_world(world: &mut World) -> Self {
let world = world.cell(); let world = world.cell();
let render_device = world.get_resource::<RenderDevice>().unwrap(); let render_device = world.get_resource::<RenderDevice>().unwrap();
let mut pipeline_cache = world.get_resource_mut::<RenderPipelineCache>().unwrap(); let mut pipeline_cache = world.get_resource_mut::<PipelineCache>().unwrap();
let view_layout = render_device.create_bind_group_layout(&BindGroupLayoutDescriptor { let view_layout = render_device.create_bind_group_layout(&BindGroupLayoutDescriptor {
entries: &[BindGroupLayoutEntry { entries: &[BindGroupLayoutEntry {
...@@ -269,6 +269,7 @@ impl FromWorld for UnifiedPipeline { ...@@ -269,6 +269,7 @@ impl FromWorld for UnifiedPipeline {
width: 1.0, width: 1.0,
height: 1.0, height: 1.0,
}, },
texture_format: TextureFormat::Rgba8UnormSrgb
}; };
let binding = render_device.create_bind_group(&BindGroupDescriptor { let binding = render_device.create_bind_group(&BindGroupDescriptor {
...@@ -287,7 +288,7 @@ impl FromWorld for UnifiedPipeline { ...@@ -287,7 +288,7 @@ impl FromWorld for UnifiedPipeline {
}); });
UnifiedPipeline { UnifiedPipeline {
pipeline: pipeline_cache.queue(pipeline_desc), pipeline: pipeline_cache.queue_render_pipeline(pipeline_desc),
view_layout, view_layout,
font_image_layout, font_image_layout,
empty_font_texture, empty_font_texture,
...@@ -547,7 +548,7 @@ pub struct DrawUI { ...@@ -547,7 +548,7 @@ pub struct DrawUI {
params: SystemState<( params: SystemState<(
SRes<QuadMeta>, SRes<QuadMeta>,
SRes<UnifiedPipeline>, SRes<UnifiedPipeline>,
SRes<RenderPipelineCache>, SRes<PipelineCache>,
SRes<FontTextureCache>, SRes<FontTextureCache>,
SRes<ImageBindGroups>, SRes<ImageBindGroups>,
SRes<WindowSize>, SRes<WindowSize>,
...@@ -610,7 +611,7 @@ impl Draw<TransparentUI> for DrawUI { ...@@ -610,7 +611,7 @@ impl Draw<TransparentUI> for DrawUI {
return; return;
} }
if let Some(pipeline) = pipelines.into_inner().get(item.pipeline) { if let Some(pipeline) = pipelines.into_inner().get_render_pipeline(item.pipeline) {
pass.set_render_pipeline(pipeline); pass.set_render_pipeline(pipeline);
pass.set_vertex_buffer(0, quad_meta.vertices.buffer().unwrap().slice(..)); pass.set_vertex_buffer(0, quad_meta.vertices.buffer().unwrap().slice(..));
pass.set_bind_group( pass.set_bind_group(
......
...@@ -5,7 +5,7 @@ edition = "2021" ...@@ -5,7 +5,7 @@ edition = "2021"
[dependencies] [dependencies]
bytemuck = "1.7.2" bytemuck = "1.7.2"
bevy = { version = "0.6.1" } bevy = { version = "0.7.0" }
kayak_core = { path = "../kayak_core" } kayak_core = { path = "../kayak_core" }
kayak_font = { path = "../kayak_font" } kayak_font = { path = "../kayak_font" }
bevy_kayak_renderer = { path = "../bevy_kayak_renderer" } bevy_kayak_renderer = { path = "../bevy_kayak_renderer" }
......
...@@ -11,7 +11,7 @@ bevy_renderer = ["bevy", "kayak_font/bevy_renderer"] ...@@ -11,7 +11,7 @@ bevy_renderer = ["bevy", "kayak_font/bevy_renderer"]
[dependencies] [dependencies]
as-any = "0.2" as-any = "0.2"
bevy = { version = "0.6.1", optional = true } bevy = { version = "0.7.0", optional = true }
desync = { version = "0.7" } desync = { version = "0.7" }
flo_rope = { version = "0.1" } flo_rope = { version = "0.1" }
futures = { version = "0.3" } futures = { version = "0.3" }
......
...@@ -11,7 +11,7 @@ bevy_renderer = ["bevy"] ...@@ -11,7 +11,7 @@ bevy_renderer = ["bevy"]
[dependencies] [dependencies]
anyhow = { version = "1.0" } anyhow = { version = "1.0" }
bevy = { version = "0.6.1", optional = true } bevy = { version = "0.7.0", optional = true }
bytemuck = "1.7.2" bytemuck = "1.7.2"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"
......
...@@ -154,6 +154,7 @@ impl FontTextureCache { ...@@ -154,6 +154,7 @@ impl FontTextureCache {
width: size.0 as f32, width: size.0 as f32,
height: size.1 as f32, height: size.1 as f32,
}, },
texture_format: format
}; };
images.insert(font_handle, image); images.insert(font_handle, image);
...@@ -198,6 +199,7 @@ impl FontTextureCache { ...@@ -198,6 +199,7 @@ impl FontTextureCache {
width: 1.0, width: 1.0,
height: 1.0, height: 1.0,
}, },
texture_format: TextureFormat::Rgba8Unorm
}; };
let binding = device.create_bind_group(&BindGroupDescriptor { let binding = device.create_bind_group(&BindGroupDescriptor {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment