mirror of
https://github.com/guilhermewerner/wgpu-renderer
synced 2025-06-16 22:04:24 +00:00
Test custom types with cubes example
This commit is contained in:
@ -30,7 +30,7 @@ impl Shader {
|
||||
|
||||
pub fn FromGlsl(stage: ShaderStage, glsl: &str) -> Self {
|
||||
Self {
|
||||
label: "".into(),
|
||||
label: "Glsl".into(),
|
||||
source: ShaderSource::Glsl(glsl.to_string()),
|
||||
stage,
|
||||
}
|
||||
@ -38,7 +38,7 @@ impl Shader {
|
||||
|
||||
pub fn FromWgsl(wgsl: &str) -> Self {
|
||||
Self {
|
||||
label: "".into(),
|
||||
label: "Wgsl".into(),
|
||||
source: ShaderSource::Wgsl(wgsl.to_string()),
|
||||
stage: ShaderStage::Multiple,
|
||||
}
|
||||
|
Reference in New Issue
Block a user