[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: [PATCH vkd3d 4/5] tests: Introduce check_sub_resource_uvec4().
From: Henri Verbeet <hverbeet () gmail ! com>
Date: 2018-10-31 18:00:35
Message-ID: CAOsNvwzny8WtziEu7B4boKDJ5wT8H2pSSb6JgiWqan5BV-LY4A () mail ! gmail ! com
[Download RAW message or body]
On Wed, 31 Oct 2018 at 18:49, Józef Kucia <joseph.kucia@gmail.com> wrote:
> +#define check_sub_resource_uvec4(a, b, c, d, e) \
> check_sub_resource_uvec4_(__LINE__, a, b, c, d, e) +static void \
> check_sub_resource_uvec4_(unsigned int line, ID3D12Resource *texture, + \
> unsigned int sub_resource_idx, ID3D12CommandQueue *queue, ID3D12GraphicsCommandList \
> *command_list, + const struct uvec4 *expected_value)
> +{
> + struct resource_readback rb;
> + struct uvec4 value = {};
> + unsigned int x = 0, y;
> + bool all_match = true;
> +
> + get_texture_readback_with_command_list(texture, 0, &rb, queue, command_list);
You don't seem to be using the sub-resource index here.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic