22name = " rust-gpu-shader-crate-template"
33version = " 0.1.0"
44edition = " 2021"
5-
5+
66[lib ]
77crate-type = [" rlib" , " cdylib" ]
88
@@ -25,7 +25,7 @@ glam = { version = "0.29", features = ["std"] }
2525output-dir = " ./"
2626# Set shader crate's cargo default-features
2727no_default_features = false
28- # Set shader crate's cargo features.
28+ # Set shader crate's cargo features.
2929features = []
3030# The compile target.
3131# TODO: `cargo gpu show targets` for all available options.
@@ -51,7 +51,7 @@ spirv-metadata = "None"
5151relax-struct-store = false
5252# Allow allocating an object of a pointer type and returning a pointer value from a function
5353# in logical addressing mode.
54- relax-logical-pointer = false
54+ relax-logical-pointer = false
5555# Enable VK_KHR_relaxed_block_layout when checking standard uniform, storage buffer, and push
5656# constant layouts.
5757# This is the default when targeting Vulkan 1.1 or later.
@@ -68,6 +68,9 @@ scalar-block-layout = false
6868skip-block-layout = false
6969# Preserve unused descriptor bindings. Useful for reflection.
7070preserve-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"
7174
7275[package .metadata .rust-gpu .install ]
7376# Source of `spirv-builder` dependency
0 commit comments