Note about DXGI_FORMAT_B4G4R4A4_UNORM being Windows 8 only.

This commit is contained in:
gibbed 2014-01-25 06:14:53 -08:00
parent 2f8f893977
commit 93d61d02d7
1 changed files with 2 additions and 2 deletions

View File

@ -1159,11 +1159,11 @@ D3D11GraphicsDriver::TextureInfo D3D11GraphicsDriver::GetTextureInfo(
case FMT_4_4_4_4: case FMT_4_4_4_4:
switch (fetch.swizzle) { switch (fetch.swizzle) {
case XE_GPU_SWIZZLE_BGRA: case XE_GPU_SWIZZLE_BGRA:
info.format = DXGI_FORMAT_B4G4R4A4_UNORM; info.format = DXGI_FORMAT_B4G4R4A4_UNORM; // only supported on Windows 8+
break; break;
default: default:
XELOGW("D3D11: unhandled swizzle for FMT_4_4_4_4"); XELOGW("D3D11: unhandled swizzle for FMT_4_4_4_4");
info.format = DXGI_FORMAT_B4G4R4A4_UNORM; info.format = DXGI_FORMAT_B4G4R4A4_UNORM; // only supported on Windows 8+
break; break;
} }
info.block_size = 1; info.block_size = 1;