Added a comment about A8P8 and groundwork for DXT1 textures
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2283 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
1c1425a406
commit
2621cf6747
|
@ -183,11 +183,16 @@ void TextureCache::Load(int stage, u32 address, int width, int height, int forma
|
||||||
d3d_fmt = D3DFMT_A4L4;
|
d3d_fmt = D3DFMT_A4L4;
|
||||||
break;
|
break;
|
||||||
case PC_TEX_FMT_I8:
|
case PC_TEX_FMT_I8:
|
||||||
d3d_fmt = D3DFMT_A8P8;
|
d3d_fmt = D3DFMT_A8P8; // A hack which means the format is a packed
|
||||||
|
// 8-bit intensity texture. It is unpacked
|
||||||
|
// to A8L8 in D3DTexture.cpp
|
||||||
break;
|
break;
|
||||||
case PC_TEX_FMT_IA8:
|
case PC_TEX_FMT_IA8:
|
||||||
d3d_fmt = D3DFMT_A8L8;
|
d3d_fmt = D3DFMT_A8L8;
|
||||||
break;
|
break;
|
||||||
|
case PC_TEX_FMT_DXT1:
|
||||||
|
d3d_fmt = D3DFMT_DXT1;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Make an entry in the table
|
//Make an entry in the table
|
||||||
|
|
Loading…
Reference in New Issue