From a7615890009a891de0aa7a82f9fd8154421ca823 Mon Sep 17 00:00:00 2001 From: Rylie Pavlik Date: Fri, 6 Dec 2024 18:30:35 -0600 Subject: [PATCH] c/util: Fix typos in comments Part-of: --- src/xrt/compositor/util/comp_render.h | 2 +- src/xrt/compositor/util/comp_render_gfx.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xrt/compositor/util/comp_render.h b/src/xrt/compositor/util/comp_render.h index 175c40063..010345fc4 100644 --- a/src/xrt/compositor/util/comp_render.h +++ b/src/xrt/compositor/util/comp_render.h @@ -498,7 +498,7 @@ comp_render_cs_layer(struct render_compute *crc, * * All source layer images needs to be in the correct image layout, no barrier * is inserted for them. The target images are barriered from undefined to general - * so they can be written to, then to the laying defined by @p transition_to. + * so they can be written to, then to the layout defined by @p transition_to. * * Expected layouts: * diff --git a/src/xrt/compositor/util/comp_render_gfx.c b/src/xrt/compositor/util/comp_render_gfx.c index e847dfd36..3f8f95bc8 100644 --- a/src/xrt/compositor/util/comp_render_gfx.c +++ b/src/xrt/compositor/util/comp_render_gfx.c @@ -532,7 +532,7 @@ do_layers(struct render_gfx *rr, /* * Reserve UBOs, create descriptor sets, and fill in any data ahead of - * time. If we ever want to copy UBO data, this lets us do that easily: + * time. If we ever want to copy UBO data this lets us do that easily: * write a copy command before the other gfx commands. */ @@ -685,8 +685,8 @@ do_mesh(struct render_gfx *rr, VkResult ret; /* - * Reserve UBOs, create descriptor sets, and fill in any data a head of - * time, if we ever want to copy UBO data this lets us do that easily + * Reserve UBOs, create descriptor sets, and fill in any data ahead of + * time. If we ever want to copy UBO data this lets us do that easily: * write a copy command before the other gfx commands. */