mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-10-30 05:52:44 +00:00
Rename shader-parser to vulkano-shaders
This commit is contained in:
parent
e5ed14327b
commit
6153e1fcde
@ -7,4 +7,4 @@ rust:
|
||||
|
||||
script:
|
||||
- cargo test -v --manifest-path glsl-to-spirv/Cargo.toml
|
||||
- cargo test -v --manifest-path shader-parser/Cargo.toml
|
||||
- cargo test -v --manifest-path vulkano-shaders/Cargo.toml
|
||||
|
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "shader-parser"
|
||||
name = "vulkano-shaders"
|
||||
version = "0.1.0"
|
||||
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
||||
|
@ -1,5 +1,5 @@
|
||||
extern crate glsl_to_spirv;
|
||||
extern crate shader_parser;
|
||||
extern crate vulkano_shaders;
|
||||
|
||||
fn main() {
|
||||
let shader = r#"
|
||||
@ -27,6 +27,6 @@ void main() {
|
||||
"#;
|
||||
|
||||
let content = glsl_to_spirv::compile(Some((shader, glsl_to_spirv::ShaderType::Fragment))).unwrap();
|
||||
let output = shader_parser::reflect("Shader", content).unwrap();
|
||||
let output = vulkano_shaders::reflect("Shader", content).unwrap();
|
||||
println!("{}", output);
|
||||
}
|
Loading…
Reference in New Issue
Block a user