panvk, nvk: spell width correctly

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32499>
This commit is contained in:
Erik Faye-Lund
2024-12-05 10:08:42 +01:00
committed by Marge Bot
parent 5e5f4432cf
commit 1ef21fa004
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ nouveau_copy_rect(struct nvk_cmd_buffer *cmd, struct nouveau_copy *copy)
});
} else {
/* When component remapping is disabled, dimensions are in units of
* bytes (an implicit block widht of 1B).
* bytes (an implicit block width of 1B).
*/
assert(copy->src.bpp == copy->dst.bpp);
src_bw = copy->src.bpp;
+1 -1
View File
@@ -1338,7 +1338,7 @@ get_image_format_properties(struct panvk_physical_device *physical_device,
/* We need to limit images to 32-bit range, because the maximum
* slice-stride is 32-bit wide, meaning that if we allocate an image
* with the maximum widht and height, we end up overflowing it.
* with the maximum width and height, we end up overflowing it.
*
* We get around this by simply limiting the maximum resource size.
*/