mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Remove rtv clears in d3d12 runner.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
59c63ec584
commit
c74d148cbe
Notes:
Alexandre Julliard
2023-04-26 22:59:12 +02:00
Approved-by: Zebediah Figura (@zfigura) Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/136
@ -337,7 +337,6 @@ static bool d3d12_runner_draw(struct shader_runner *r,
|
||||
ID3D12CommandQueue *queue = test_context->queue;
|
||||
D3D12_INPUT_ELEMENT_DESC *input_element_descs;
|
||||
ID3D12Device *device = test_context->device;
|
||||
static const float clear_color[4];
|
||||
ID3D10Blob *vs_code, *ps_code;
|
||||
unsigned int uniform_index;
|
||||
unsigned int rtv_count = 0;
|
||||
@ -424,8 +423,6 @@ static bool d3d12_runner_draw(struct shader_runner *r,
|
||||
{
|
||||
case RESOURCE_TYPE_RENDER_TARGET:
|
||||
rtvs[resource->r.slot] = get_cpu_rtv_handle(test_context, runner->rtv_heap, resource->r.slot);
|
||||
ID3D12GraphicsCommandList_ClearRenderTargetView(command_list,
|
||||
rtvs[resource->r.slot], clear_color, 0, NULL);
|
||||
rtv_count = max(rtv_count, resource->r.slot + 1);
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user