Fix CI for android (#2971)
# Objective The update to wgpu 0.11 broke CI for android. This was due to a confusion between `bevy::render::ShaderStage` and `wgpu::ShaderStage`. ## Solution Revert the incorrect change
This commit is contained in:
parent
43e8a156fb
commit
b13357e7b2
@ -106,9 +106,9 @@ pub fn glsl_to_spirv(
|
||||
impl Into<shaderc::ShaderKind> 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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user