mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 10:04:39 +00:00
attribute: Correct bary coord function (#3253)
This commit is contained in:
parent
6d6068e0e2
commit
83475ac828
@ -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