shader_recompiler: Exclude defaulted fragment inputs from quad/rect passthrough. (#2383)

This commit is contained in:
squidbus
2025-02-10 21:33:30 -08:00
committed by GitHub
parent b51c767296
commit 40eef6a066
3 changed files with 15 additions and 3 deletions

View File

@@ -174,6 +174,10 @@ struct FragmentRuntimeInfo {
bool is_flat;
u8 default_value;
[[nodiscard]] bool IsDefault() const {
return is_default && !is_flat;
}
auto operator<=>(const PsInput&) const noexcept = default;
};
AmdGpu::Liverpool::PsInput en_flags;