mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Transition resources to PIXEL_SHADER_RESOURCE in test_sample_c_lz().
This commit is contained in:
parent
fe787cf77f
commit
9f056f3989
Notes:
Henri Verbeet
2024-07-08 18:55:29 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/919
@ -15506,6 +15506,8 @@ static void test_sample_c_lz(void)
|
||||
|
||||
transition_resource_state(command_list, ds.texture,
|
||||
D3D12_RESOURCE_STATE_DEPTH_WRITE, D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE);
|
||||
transition_resource_state(command_list, ds_offset.texture,
|
||||
D3D12_RESOURCE_STATE_DEPTH_WRITE, D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE);
|
||||
|
||||
memset(&ps_constant, 0, sizeof(ps_constant));
|
||||
for (j = 0; j < ARRAY_SIZE(shaders_2d_array); ++j)
|
||||
|
Loading…
Reference in New Issue
Block a user