Browse Source
Fix build
Signed-off-by: crueter <crueter@eden-emu.dev>
lizzie/unity-build
crueter
1 day ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with
2 additions and
2 deletions
-
src/shader_recompiler/stage.h
|
|
|
@ -20,8 +20,8 @@ enum class Stage : u32 { |
|
|
|
}; |
|
|
|
constexpr u32 MaxStageTypes = 6; |
|
|
|
|
|
|
|
[[nodiscard]] constexpr Stage StageFromIndex(size_t index) noexcept { |
|
|
|
return static_cast<Stage>(static_cast<size_t>(Stage::VertexB) + index); |
|
|
|
[[nodiscard]] constexpr Stage StageFromIndex(std::size_t index) noexcept { |
|
|
|
return static_cast<Stage>(static_cast<std::size_t>(Stage::VertexB) + index); |
|
|
|
} |
|
|
|
|
|
|
|
} // namespace Shader |