tests: Fix various alignment warnings on 32bit clang.

Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
This commit is contained in:
Georg Lehmann 2021-11-16 20:06:10 +01:00 committed by Hans-Kristian Arntzen
parent 19a1dce393
commit 344f8d1ed4
3 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ void test_create_query_heap(void)
void test_query_timestamp(void)
{
uint64_t timestamps[4], timestamp_frequency, timestamp_diff, time_diff;
UINT64 timestamps[4], timestamp_frequency, timestamp_diff, time_diff;
ID3D12GraphicsCommandList *command_list;
D3D12_QUERY_HEAP_DESC heap_desc;
struct test_context_desc desc;

View File

@ -1356,8 +1356,8 @@ void test_get_copyable_footprints_planar(void)
void test_get_copyable_footprints(void)
{
D3D12_PLACED_SUBRESOURCE_FOOTPRINT layouts[10];
uint64_t row_sizes[10], total_size;
D3D12_RESOURCE_DESC resource_desc;
UINT64 row_sizes[10], total_size;
unsigned int sub_resource_count;
unsigned int i, j, k, l;
ID3D12Device *device;

View File

@ -209,8 +209,8 @@ void upload_texture_data_(unsigned int line, ID3D12Resource *texture,
{
D3D12_TEXTURE_COPY_LOCATION dst_location, src_location;
D3D12_PLACED_SUBRESOURCE_FOOTPRINT *layouts;
uint64_t *row_sizes, required_size;
D3D12_RESOURCE_DESC resource_desc;
UINT64 *row_sizes, required_size;
ID3D12Resource *upload_buffer;
D3D12_MEMCPY_DEST dst_data;
ID3D12Device *device;