d3d11/tests: Trace optional format support.

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 2016-09-18 16:18:19 +02:00 committed by Alexandre Julliard
parent 93ae9dd1d2
commit 5a6332231e
1 changed files with 5 additions and 0 deletions

View File

@ -10609,7 +10609,12 @@ static void check_format_support(const unsigned int *format_support, D3D_FEATURE
}
if (formats[i].fl_optional && formats[i].fl_optional <= feature_level)
{
if (supported)
trace("Optional format %#x - %s supported, feature level %#x.\n",
format, feature_name, feature_level);
continue;
}
ok(!supported, "Format %#x - %s supported, feature level %#x, format support %#x.\n",
format, feature_name, feature_level, format_support[format]);