[PATCH v2 3/5] d3d11/tests: Test partial updates of 3D textures.

Jan Sikorski jsikorski at codeweavers.com
Thu Mar 18 11:33:24 CDT 2021


> On 18 Mar 2021, at 14:33, Henri Verbeet <hverbeet at gmail.com> wrote:
> 
> On Wed, 17 Mar 2021 at 13:52, Jan Sikorski <jsikorski at codeweavers.com> wrote:
>> static void test_copy_subresource_region(void)
>> {
>>     ID3D11Texture2D *dst_texture, *src_texture;
>> @@ -32225,6 +32353,7 @@ START_TEST(d3d11)
>>     queue_test(test_fragment_coords);
>>     queue_test(test_initial_texture_data);
>>     queue_test(test_update_subresource);
>> +    queue_test(test_update_subresource_3d);
> 
> Should this be part of test_update_subresource()?

I kept it separate similarly to how test_copy_subresource_*d and test_clear_render_target_view_*d are. Also I thought it would be more straightforward to update and read back directly rather than draw a 3d texture by slice or something, so the flow is a bit different there. On the other hand with a draw the compressed test would maybe work too.


More information about the wine-devel mailing list