cli: rename librashader-test -> librashader-cli
This commit is contained in:
parent
227757a221
commit
55ff7a93f2
58
Cargo.lock
generated
58
Cargo.lock
generated
|
@ -1583,6 +1583,35 @@ dependencies = [
|
|||
"windows 0.58.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "librashader-cli"
|
||||
version = "0.4.5"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"ash",
|
||||
"bitvec",
|
||||
"clap",
|
||||
"d3d12-descriptor-heap",
|
||||
"gfx-maths",
|
||||
"glfw",
|
||||
"glow 0.14.1",
|
||||
"gpu-allocator 0.27.0",
|
||||
"image",
|
||||
"image-compare",
|
||||
"librashader",
|
||||
"librashader-runtime",
|
||||
"objc2 0.5.2",
|
||||
"objc2-metal",
|
||||
"parking_lot",
|
||||
"pollster",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"spq-spvasm",
|
||||
"wgpu",
|
||||
"wgpu-types",
|
||||
"windows 0.58.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "librashader-common"
|
||||
version = "0.4.5"
|
||||
|
@ -1812,35 +1841,6 @@ dependencies = [
|
|||
"winit",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "librashader-test"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"ash",
|
||||
"bitvec",
|
||||
"clap",
|
||||
"d3d12-descriptor-heap",
|
||||
"gfx-maths",
|
||||
"glfw",
|
||||
"glow 0.14.1",
|
||||
"gpu-allocator 0.27.0",
|
||||
"image",
|
||||
"image-compare",
|
||||
"librashader",
|
||||
"librashader-runtime",
|
||||
"objc2 0.5.2",
|
||||
"objc2-metal",
|
||||
"parking_lot",
|
||||
"pollster",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"spq-spvasm",
|
||||
"wgpu",
|
||||
"wgpu-types",
|
||||
"windows 0.58.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "libredox"
|
||||
version = "0.0.2"
|
||||
|
|
|
@ -8,13 +8,16 @@ members = [
|
|||
"librashader-runtime",
|
||||
"librashader-runtime-d3d11",
|
||||
"librashader-runtime-d3d12",
|
||||
"librashader-runtime-d3d9",
|
||||
"librashader-runtime-gl",
|
||||
"librashader-runtime-vk",
|
||||
"librashader-runtime-mtl",
|
||||
"librashader-runtime-wgpu",
|
||||
"librashader-cache",
|
||||
"librashader-capi",
|
||||
"librashader-build-script", "librashader-runtime-d3d9", "librashader-test"]
|
||||
"librashader-build-script",
|
||||
"librashader-cli"
|
||||
]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.dependencies]
|
||||
|
|
|
@ -48,7 +48,6 @@ of the internals if you wish to use parts of librashader piecemeal.
|
|||
The librashader C API is best used by including `librashader_ld.h` in your project, which implements a loader that dynamically
|
||||
loads the librashader (`librashader.so`, `librashader.dll`, or `librashader.dylib`) implementation in the search path.
|
||||
|
||||
|
||||
### C compatibility
|
||||
The recommended way of integrating `librashader` is by the `librashader_ld` single header library which implements
|
||||
a dynamic loader for `librashader.dll` / `librashader.so` / `librashader.dylib`. See the [versioning policy](https://github.com/SnowflakePowered/librashader#versioning)
|
||||
|
@ -76,6 +75,7 @@ The Metal runtime is **not thread safe**. However you can still defer submission
|
|||
`filter_chain_create_deferred` function.
|
||||
|
||||
The Direct3D 9 API is not thread safe, unless `D3DCREATE_MULTITHREADED` is enabled at device creation.
|
||||
|
||||
### Quad vertices and rotations
|
||||
All runtimes render intermediate passes with an identity matrix MVP and a VBO for with range `[-1, 1]`. The final pass uses a
|
||||
Quad VBO with range `[0, 1]` and the following projection matrix by default.
|
||||
|
@ -101,6 +101,8 @@ ensure that your runtime has consistent behaviour for uniform and texture semant
|
|||
These types should not be exposed to the end user in the runtime's public API, and should be kept internal to the implementation of
|
||||
the runtime.
|
||||
|
||||
## Command-line interface
|
||||
librashader provides a
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -128,7 +130,7 @@ While librashader is intended to be used with nightly Rust until [required featu
|
|||
built with stable Rust with the `stable` feature.
|
||||
|
||||
```toml
|
||||
librashader = { features = "stable" }
|
||||
librashader = { features = ["stable"] }
|
||||
```
|
||||
|
||||
If building the C API, the `--stable` flag in the build script will enable the `stable` feature.
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
[package]
|
||||
name = "librashader-test"
|
||||
version = "0.1.0"
|
||||
name = "librashader-cli"
|
||||
version = "0.4.5"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
name = "librashader_test"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[[bin]]
|
Loading…
Reference in a new issue