mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
Use CELL_GCM_TEXTURE_CONVOLUTION_MAG for Mag 4
This commit is contained in:
parent
194c6b8bee
commit
74ec128e62
@ -248,7 +248,7 @@ namespace
|
|||||||
{
|
{
|
||||||
case CELL_GCM_TEXTURE_NEAREST: return D3D12_FILTER_TYPE_POINT;
|
case CELL_GCM_TEXTURE_NEAREST: return D3D12_FILTER_TYPE_POINT;
|
||||||
case CELL_GCM_TEXTURE_LINEAR: return D3D12_FILTER_TYPE_LINEAR;
|
case CELL_GCM_TEXTURE_LINEAR: return D3D12_FILTER_TYPE_LINEAR;
|
||||||
case CELL_GCM_TEXTURE_UNKNOWN_MAG_FILTER: return D3D12_FILTER_TYPE_LINEAR;
|
case CELL_GCM_TEXTURE_CONVOLUTION_MAG: return D3D12_FILTER_TYPE_LINEAR;
|
||||||
}
|
}
|
||||||
throw EXCEPTION("Invalid mag filter (0x%x)", mag_filter);
|
throw EXCEPTION("Invalid mag filter (0x%x)", mag_filter);
|
||||||
}
|
}
|
||||||
|
@ -308,7 +308,7 @@ enum
|
|||||||
CELL_GCM_TEXTURE_NEAREST_LINEAR = 5,
|
CELL_GCM_TEXTURE_NEAREST_LINEAR = 5,
|
||||||
CELL_GCM_TEXTURE_LINEAR_LINEAR = 6,
|
CELL_GCM_TEXTURE_LINEAR_LINEAR = 6,
|
||||||
CELL_GCM_TEXTURE_CONVOLUTION_MIN = 7,
|
CELL_GCM_TEXTURE_CONVOLUTION_MIN = 7,
|
||||||
CELL_GCM_TEXTURE_UNKNOWN_MAG_FILTER = 4,
|
CELL_GCM_TEXTURE_CONVOLUTION_MAG = 4,
|
||||||
|
|
||||||
CELL_GCM_COLOR_MASK_B = 1 << 0,
|
CELL_GCM_COLOR_MASK_B = 1 << 0,
|
||||||
CELL_GCM_COLOR_MASK_G = 1 << 8,
|
CELL_GCM_COLOR_MASK_G = 1 << 8,
|
||||||
|
Loading…
Reference in New Issue
Block a user