tests: Add more tests for texture allocation info.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia
2019-01-18 10:25:51 +01:00
committed by Alexandre Julliard
parent ec49d3ebd2
commit 49a02a41f3
2 changed files with 62 additions and 0 deletions

View File

@@ -227,6 +227,7 @@ static unsigned int format_size(DXGI_FORMAT format)
{
case DXGI_FORMAT_UNKNOWN:
case DXGI_FORMAT_A8_UNORM:
case DXGI_FORMAT_R8_UINT:
return 1;
case DXGI_FORMAT_R32G32B32A32_FLOAT:
case DXGI_FORMAT_R32G32B32A32_UINT: