mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
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
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue