Skip to content

Commit

Permalink
vkd3d: Fix typo in d3d12_determine_shading_rate_image_tile_size.
Browse files Browse the repository at this point in the history
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
  • Loading branch information
HansKristian-Work committed Dec 15, 2023
1 parent 06bf468 commit 94a0220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/vkd3d/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ UINT d3d12_determine_shading_rate_image_tile_size(struct d3d12_device *device)
{
UINT tile_size = valid_shading_rate_image_tile_sizes[i];
if (tile_size >= min_texel_size.width && tile_size >= min_texel_size.height &&
tile_size <= max_texel_size.height && tile_size <= max_texel_size.height)
tile_size <= max_texel_size.width && tile_size <= max_texel_size.height)
return tile_size;
}

Expand Down

0 comments on commit 94a0220

Please sign in to comment.