build: prefer static linking of shaderc
This commit is contained in:
parent
d17503be71
commit
2bd6f8f80f
|
@ -12,7 +12,7 @@ keywords = ["shader", "retroarch", "SPIR-V"]
|
||||||
description = "RetroArch shaders for all."
|
description = "RetroArch shaders for all."
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
shaderc = { version = "0.8.2", features = [] }
|
shaderc = { version = "0.8.3", features = [] }
|
||||||
bytemuck = "1.13.0"
|
bytemuck = "1.13.0"
|
||||||
|
|
||||||
thiserror = "1.0.37"
|
thiserror = "1.0.37"
|
||||||
|
@ -37,7 +37,7 @@ optional = true
|
||||||
[features]
|
[features]
|
||||||
default = ["cross", "serialize"]
|
default = ["cross", "serialize"]
|
||||||
unstable-naga = [ "naga", "rspirv" ]
|
unstable-naga = [ "naga", "rspirv" ]
|
||||||
standalone = ["shaderc/build-from-source"]
|
standalone = ["shaderc/build-from-source", "shaderc/prefer-static-linking"]
|
||||||
dxil = ["cross", "spirv-to-dxil"]
|
dxil = ["cross", "spirv-to-dxil"]
|
||||||
cross = [ "spirv_cross", "spirv_cross/glsl", "spirv_cross/hlsl" ]
|
cross = [ "spirv_cross", "spirv_cross/glsl", "spirv_cross/hlsl" ]
|
||||||
serialize = [ "serde" ]
|
serialize = [ "serde" ]
|
||||||
|
|
Loading…
Reference in a new issue