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 {
|
impl Into<shaderc::ShaderKind> for ShaderStage {
|
||||||
fn into(self) -> shaderc::ShaderKind {
|
fn into(self) -> shaderc::ShaderKind {
|
||||||
match self {
|
match self {
|
||||||
ShaderStages::VERTEX => shaderc::ShaderKind::Vertex,
|
ShaderStage::Vertex => shaderc::ShaderKind::Vertex,
|
||||||
ShaderStages::FRAGMENT => shaderc::ShaderKind::Fragment,
|
ShaderStage::Fragment => shaderc::ShaderKind::Fragment,
|
||||||
ShaderStages::COMPUTE => shaderc::ShaderKind::Compute,
|
ShaderStage::Compute => shaderc::ShaderKind::Compute,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user