Add vulkano macros feature to examples that needs it (#2408)

* Add vulkano macros feature to example that needs it

* Add Buffer::pair_from_iter to make it one step easier for staging data to the device

* Revert "Add Buffer::pair_from_iter to make it one step easier for staging data to the device"

This reverts commit a30b5c0925.
This commit is contained in:
ilyas taouaou 2023-11-16 17:07:28 +01:00 committed by GitHub
parent 61c1168084
commit e68eddd5f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
33 changed files with 33 additions and 33 deletions

View File

@ -14,6 +14,6 @@ doc = false
[dependencies] [dependencies]
cgmath = { workspace = true } cgmath = { workspace = true }
rand = { workspace = true } rand = { workspace = true }
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -12,5 +12,5 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }

View File

@ -12,6 +12,6 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -13,6 +13,6 @@ doc = false
[dependencies] [dependencies]
cgmath = { workspace = true } cgmath = { workspace = true }
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -12,5 +12,5 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }

View File

@ -13,5 +13,5 @@ doc = false
[dependencies] [dependencies]
png = { workspace = true } png = { workspace = true }
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }

View File

@ -13,7 +13,7 @@ doc = false
[dependencies] [dependencies]
glium = "0.32.1" glium = "0.32.1"
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }
# Glium has still not been updated to the latest winit version # Glium has still not been updated to the latest winit version

View File

@ -13,6 +13,6 @@ doc = false
[dependencies] [dependencies]
png = { workspace = true } png = { workspace = true }
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -13,6 +13,6 @@ doc = false
[dependencies] [dependencies]
png = { workspace = true } png = { workspace = true }
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -13,6 +13,6 @@ doc = false
[dependencies] [dependencies]
png = { workspace = true } png = { workspace = true }
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -12,6 +12,6 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -12,6 +12,6 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -14,7 +14,7 @@ doc = false
[dependencies] [dependencies]
cgmath = { workspace = true } cgmath = { workspace = true }
rand = { workspace = true } rand = { workspace = true }
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
vulkano-util = { workspace = true } vulkano-util = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -13,5 +13,5 @@ doc = false
[dependencies] [dependencies]
png = { workspace = true } png = { workspace = true }
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }

View File

@ -14,7 +14,7 @@ doc = false
[dependencies] [dependencies]
cgmath = { workspace = true } cgmath = { workspace = true }
rand = { workspace = true } rand = { workspace = true }
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
vulkano-util = { workspace = true } vulkano-util = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -12,6 +12,6 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -13,5 +13,5 @@ doc = false
[dependencies] [dependencies]
png = { workspace = true } png = { workspace = true }
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }

View File

@ -12,6 +12,6 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -12,5 +12,5 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }

View File

@ -12,5 +12,5 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }

View File

@ -13,6 +13,6 @@ doc = false
[dependencies] [dependencies]
png = { workspace = true } png = { workspace = true }
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -13,6 +13,6 @@ doc = false
[dependencies] [dependencies]
png = { workspace = true } png = { workspace = true }
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -12,5 +12,5 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }

View File

@ -12,5 +12,5 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }

View File

@ -14,6 +14,6 @@ doc = false
[dependencies] [dependencies]
ron = { workspace = true } ron = { workspace = true }
serde = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"] }
vulkano = { workspace = true, features = ["serde"] } vulkano = { workspace = true, features = ["serde", "macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -12,5 +12,5 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }

View File

@ -12,6 +12,6 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -12,5 +12,5 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }

View File

@ -13,6 +13,6 @@ doc = false
[dependencies] [dependencies]
cgmath = { workspace = true } cgmath = { workspace = true }
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -12,6 +12,6 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -13,6 +13,6 @@ doc = false
[dependencies] [dependencies]
png = { workspace = true } png = { workspace = true }
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -12,6 +12,6 @@ bench = false
doc = false doc = false
[dependencies] [dependencies]
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
winit = { workspace = true } winit = { workspace = true }

View File

@ -13,7 +13,7 @@ doc = false
[dependencies] [dependencies]
# The `vulkano` crate is the main crate that you must use to use Vulkan. # The `vulkano` crate is the main crate that you must use to use Vulkan.
vulkano = { workspace = true } vulkano = { workspace = true, features = ["macros"] }
# Provides the `shader!` macro that is used to generate code for using shaders. # Provides the `shader!` macro that is used to generate code for using shaders.
vulkano-shaders = { workspace = true } vulkano-shaders = { workspace = true }
# The Vulkan library doesn't provide any functionality to create and handle windows, as # The Vulkan library doesn't provide any functionality to create and handle windows, as