mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 16:52:46 +01:00
maxwell_to_vk: Sielence -Wswitch warning
This commit is contained in:
parent
351816ac38
commit
dab450ec46
1 changed files with 2 additions and 0 deletions
|
@ -257,6 +257,8 @@ vk::ShaderStageFlagBits ShaderStage(Tegra::Engines::ShaderType stage) {
|
||||||
return vk::ShaderStageFlagBits::eGeometry;
|
return vk::ShaderStageFlagBits::eGeometry;
|
||||||
case Tegra::Engines::ShaderType::Fragment:
|
case Tegra::Engines::ShaderType::Fragment:
|
||||||
return vk::ShaderStageFlagBits::eFragment;
|
return vk::ShaderStageFlagBits::eFragment;
|
||||||
|
case Tegra::Engines::ShaderType::Compute:
|
||||||
|
return vk::ShaderStageFlagBits::eCompute;
|
||||||
}
|
}
|
||||||
UNIMPLEMENTED_MSG("Unimplemented shader stage={}", static_cast<u32>(stage));
|
UNIMPLEMENTED_MSG("Unimplemented shader stage={}", static_cast<u32>(stage));
|
||||||
return {};
|
return {};
|
||||||
|
|
Loading…
Reference in a new issue