mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
rsx: Fix format matching when aggregating textures
- When copying depth-depth, prefer own format over depth int format
This commit is contained in:
parent
9e4bec8cec
commit
9828d6146b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user