diff --git a/crates/bevy_render/src/shader/shader.rs b/crates/bevy_render/src/shader/shader.rs index 5a8d2062a3..b8ea268546 100644 --- a/crates/bevy_render/src/shader/shader.rs +++ b/crates/bevy_render/src/shader/shader.rs @@ -106,9 +106,9 @@ pub fn glsl_to_spirv( impl Into for ShaderStage { fn into(self) -> shaderc::ShaderKind { match self { - ShaderStages::VERTEX => shaderc::ShaderKind::Vertex, - ShaderStages::FRAGMENT => shaderc::ShaderKind::Fragment, - ShaderStages::COMPUTE => shaderc::ShaderKind::Compute, + ShaderStage::Vertex => shaderc::ShaderKind::Vertex, + ShaderStage::Fragment => shaderc::ShaderKind::Fragment, + ShaderStage::Compute => shaderc::ShaderKind::Compute, } } }