nv2a: Force surface flush for mipmapped textures

This commit is contained in:
Matt Borgerson 2020-10-28 19:09:28 -07:00 committed by mborgerson
parent 0c2368f37d
commit 5cc4568dfe
1 changed files with 5 additions and 0 deletions

View File

@ -3743,6 +3743,11 @@ static bool pgraph_check_surface_to_texture_compatibility(
return false;
}
if (shape->levels > 1) {
// FIXME: Support rendering surface to mip levels
return false;
}
switch (surface_fmt) {
case NV097_SET_SURFACE_FORMAT_COLOR_LE_X1R5G5B5_Z1R5G5B5:
switch (texture_fmt) {