2022-10-23 17:36:41 +11:00
|
|
|
[package]
|
|
|
|
name = "librashader-reflect"
|
|
|
|
edition = "2021"
|
|
|
|
|
2022-12-01 18:07:21 +11:00
|
|
|
license = "MPL-2.0 OR GPL-3.0-only"
|
2024-09-21 15:55:42 +10:00
|
|
|
version = "0.4.5"
|
2022-12-01 18:07:21 +11:00
|
|
|
authors = ["Ronny Chan <ronny@ronnychan.ca>"]
|
|
|
|
repository = "https://github.com/SnowflakePowered/librashader"
|
|
|
|
readme = "../README.md"
|
|
|
|
categories = ["emulators", "compilers", "graphics"]
|
|
|
|
keywords = ["shader", "retroarch", "SPIR-V"]
|
|
|
|
description = "RetroArch shaders for all."
|
2022-10-23 17:36:41 +11:00
|
|
|
|
|
|
|
[dependencies]
|
2024-10-02 13:59:29 +10:00
|
|
|
glslang = "0.6.0"
|
2023-02-08 10:50:26 +11:00
|
|
|
bytemuck = "1.13.0"
|
2022-11-22 08:13:37 +11:00
|
|
|
|
2022-10-23 17:36:41 +11:00
|
|
|
thiserror = "1.0.37"
|
2024-02-09 10:08:23 +11:00
|
|
|
bitflags = "2.4.2"
|
2022-11-11 17:44:41 +11:00
|
|
|
|
2024-09-21 15:55:42 +10:00
|
|
|
librashader-common = { path = "../librashader-common", version = "0.4.5" }
|
|
|
|
librashader-preprocess = { path = "../librashader-preprocess", version = "0.4.5" }
|
|
|
|
librashader-presets = { path = "../librashader-presets", version = "0.4.5" }
|
2024-10-01 16:04:58 +10:00
|
|
|
librashader-pack = { path = "../librashader-pack", version = "0.4.5" }
|
2022-11-22 08:13:37 +11:00
|
|
|
|
2024-09-05 10:49:20 +10:00
|
|
|
spirv-cross2 = { workspace = true, optional = true }
|
2022-11-22 08:21:50 +11:00
|
|
|
|
2024-08-01 15:09:27 +10:00
|
|
|
naga = { version = "22", optional = true }
|
2024-02-16 11:22:28 +11:00
|
|
|
rspirv = { version = "0.12.0", optional = true }
|
|
|
|
spirv = { version = "0.3.0", optional = true}
|
2023-02-05 16:55:46 +11:00
|
|
|
|
2023-02-13 14:36:50 +11:00
|
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
2024-06-22 10:55:21 +10:00
|
|
|
rustc-hash = "2.0.0"
|
2024-02-07 10:42:32 +11:00
|
|
|
|
2023-11-29 18:06:20 +11:00
|
|
|
[target.'cfg(windows)'.dependencies.spirv-to-dxil]
|
2024-02-19 08:19:36 +11:00
|
|
|
version = "0.4.7"
|
2023-11-29 18:06:20 +11:00
|
|
|
optional = true
|
|
|
|
|
2022-11-22 08:21:50 +11:00
|
|
|
[features]
|
2024-09-26 16:25:12 +10:00
|
|
|
default = ["cross", "naga", "wgsl", "msl"]
|
2024-09-05 10:49:20 +10:00
|
|
|
dxil = ["spirv-cross2/hlsl", "dep:spirv-to-dxil"]
|
|
|
|
wgsl = ["cross", "naga/wgsl-out", "dep:spirv", "dep:rspirv"]
|
|
|
|
cross = [ "dep:spirv-cross2", "spirv-cross2/glsl", "spirv-cross2/hlsl", "spirv-cross2/msl" ]
|
|
|
|
naga = [ "dep:rspirv", "dep:spirv", "naga/spv-in", "naga/spv-out", "naga/wgsl-out", "naga/msl-out" ]
|
2024-09-26 16:25:12 +10:00
|
|
|
serde = ["dep:serde", "serde/derive", "librashader-common/serde", "bitflags/serde"]
|
|
|
|
|
2024-09-05 10:49:20 +10:00
|
|
|
msl = [ "spirv-cross2/msl", "naga/msl-out" ]
|
2024-09-15 15:36:14 +10:00
|
|
|
stable = []
|
2024-08-09 14:55:58 +10:00
|
|
|
|
2024-08-21 14:38:32 +10:00
|
|
|
unstable-naga-in = ["naga/glsl-in"]
|