You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (Traits::surface_is_pitch_compatible(old, prev_surface->get_rsx_pitch()))
129
+
if (is_pitch_compatible)
120
130
{
121
131
if (old->last_use_tag >= prev_surface->last_use_tag) [[unlikely]]
122
132
{
@@ -1128,6 +1138,69 @@ namespace rsx
1128
1138
returnnullptr;
1129
1139
}
1130
1140
1141
+
// Workaround to handle overlapping surfaces with differing pitch
1142
+
// For a surface region defined by range [address, length] and pitch, we return the max length we can write without clobbering a surface of different pitch.
1143
+
// TODO: Re-evaluate usefulness once pitch-conversion work is completed.
0 commit comments