mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
tests: Remove unused test context desc.
This commit is contained in:
@ -11393,7 +11393,6 @@ static void test_query_pipeline_statistics(void)
|
|||||||
{
|
{
|
||||||
static const float white[] = {1.0f, 1.0f, 1.0f, 1.0f};
|
static const float white[] = {1.0f, 1.0f, 1.0f, 1.0f};
|
||||||
ID3D12GraphicsCommandList *command_list;
|
ID3D12GraphicsCommandList *command_list;
|
||||||
struct test_context_desc desc;
|
|
||||||
struct test_context context;
|
struct test_context context;
|
||||||
ID3D12CommandQueue *queue;
|
ID3D12CommandQueue *queue;
|
||||||
ID3D12Device *device;
|
ID3D12Device *device;
|
||||||
@ -11405,8 +11404,7 @@ static void test_query_pipeline_statistics(void)
|
|||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
memset(&desc, 0, sizeof(desc));
|
if (!init_test_context(&context, NULL))
|
||||||
if (!init_test_context(&context, &desc))
|
|
||||||
return;
|
return;
|
||||||
device = context.device;
|
device = context.device;
|
||||||
command_list = context.list;
|
command_list = context.list;
|
||||||
|
Reference in New Issue
Block a user