shader_recompiler: Implement linear interpolation support (#3055)

This commit is contained in:
TheTurtle
2025-06-08 22:46:34 +03:00
committed by GitHub
parent 5004e41100
commit 8ffcfc87bd
14 changed files with 425 additions and 375 deletions

View File

@@ -193,6 +193,8 @@ struct Info {
PersistentSrtInfo srt_info;
std::vector<u32> flattened_ud_buf;
std::array<IR::Interpolation, 32> interp_qualifiers{};
IR::ScalarReg tess_consts_ptr_base = IR::ScalarReg::Max;
s32 tess_consts_dword_offset = -1;
@@ -206,6 +208,8 @@ struct Info {
bool has_discard{};
bool has_image_gather{};
bool has_image_query{};
bool has_perspective_interp{};
bool has_linear_interp{};
bool uses_atomic_float_min_max{};
bool uses_lane_id{};
bool uses_group_quad{};