mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 18:15:14 +00:00
attribute: Correct bary coord function
This commit is contained in:
parent
6d6068e0e2
commit
ef14a22c23
@ -110,7 +110,8 @@ constexpr bool IsMrt(Attribute attribute) noexcept {
|
|||||||
}
|
}
|
||||||
|
|
||||||
constexpr bool IsBarycentricCoord(Attribute attribute) noexcept {
|
constexpr bool IsBarycentricCoord(Attribute attribute) noexcept {
|
||||||
return attribute >= Attribute::BaryCoordSmooth && attribute <= Attribute::BaryCoordSmoothSample;
|
return attribute >= Attribute::BaryCoordNoPersp &&
|
||||||
|
attribute <= Attribute::BaryCoordSmoothSample;
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] std::string NameOf(Attribute attribute);
|
[[nodiscard]] std::string NameOf(Attribute attribute);
|
||||||
|
Loading…
Reference in New Issue
Block a user