rsx: Fix format matching when aggregating textures

- When copying depth-depth, prefer own format over depth int format
This commit is contained in:
kd-11 2020-08-25 23:02:55 +03:00 committed by kd-11
parent 9e4bec8cec
commit 9828d6146b

View File

@ -113,10 +113,11 @@ namespace rsx
{
case CELL_GCM_TEXTURE_DEPTH24_D8:
case CELL_GCM_TEXTURE_DEPTH24_D8_FLOAT:
case CELL_GCM_TEXTURE_A8R8G8B8:
return CELL_GCM_TEXTURE_DEPTH24_D8;
case CELL_GCM_TEXTURE_DEPTH16:
case CELL_GCM_TEXTURE_DEPTH16_FLOAT:
return gcm_format;
case CELL_GCM_TEXTURE_A8R8G8B8:
return CELL_GCM_TEXTURE_DEPTH24_D8;
case CELL_GCM_TEXTURE_X16:
//case CELL_GCM_TEXTURE_A4R4G4B4:
//case CELL_GCM_TEXTURE_G8B8: