mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-21 22:34:43 +00:00
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:
parent
61c1168084
commit
e68eddd5f1
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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 }
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user