Rename shader-parser to vulkano-shaders

This commit is contained in:
Pierre Krieger 2016-02-06 11:45:09 +01:00
parent e5ed14327b
commit 6153e1fcde
8 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -1,5 +1,5 @@
[package]
name = "shader-parser"
name = "vulkano-shaders"
version = "0.1.0"
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]

View File

@ -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);
}