2
2
name = " rust-gpu-shader-crate-template"
3
3
version = " 0.1.0"
4
4
edition = " 2021"
5
-
5
+
6
6
[lib ]
7
7
crate-type = [" rlib" , " cdylib" ]
8
8
@@ -25,7 +25,7 @@ glam = { version = "0.29", features = ["std"] }
25
25
output-dir = " ./"
26
26
# Set shader crate's cargo default-features
27
27
no_default_features = false
28
- # Set shader crate's cargo features.
28
+ # Set shader crate's cargo features.
29
29
features = []
30
30
# The compile target.
31
31
# TODO: `cargo gpu show targets` for all available options.
@@ -51,7 +51,7 @@ spirv-metadata = "None"
51
51
relax-struct-store = false
52
52
# Allow allocating an object of a pointer type and returning a pointer value from a function
53
53
# in logical addressing mode.
54
- relax-logical-pointer = false
54
+ relax-logical-pointer = false
55
55
# Enable VK_KHR_relaxed_block_layout when checking standard uniform, storage buffer, and push
56
56
# constant layouts.
57
57
# This is the default when targeting Vulkan 1.1 or later.
@@ -68,6 +68,9 @@ scalar-block-layout = false
68
68
skip-block-layout = false
69
69
# Preserve unused descriptor bindings. Useful for reflection.
70
70
preserve-bindings = false
71
+ # Renames the manifest.json file to the given string. Useful if you collect all your SPIR-V fragments
72
+ # in one place.
73
+ manifest-file = " manifest.json"
71
74
72
75
[package .metadata .rust-gpu .install ]
73
76
# Source of `spirv-builder` dependency
0 commit comments