mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
comp: Fix codespell errors.
This commit is contained in:
parent
dd82b04ab5
commit
c0be8f2478
|
@ -1126,7 +1126,7 @@ comp_renderer_draw(struct comp_renderer *r)
|
|||
const uint32_t view_count = c->nr.view_count;
|
||||
enum comp_target_fov_source fov_source = COMP_TARGET_FOV_SOURCE_DISTORTION;
|
||||
|
||||
// For sratch image debugging.
|
||||
// For scratch image debugging.
|
||||
struct comp_render_scratch_state crss;
|
||||
scratch_get_init(&crss, r, view_count);
|
||||
|
||||
|
|
|
@ -130,7 +130,7 @@ select_extent(struct comp_target_swapchain *cts, VkSurfaceCapabilitiesKHR caps,
|
|||
/*
|
||||
* A sub-class wants us to use these extents over the ones the
|
||||
* compositor preferred, this is probably due to the target only
|
||||
* upporting this size so we better respect those wishes.
|
||||
* supporting this size so we better respect those wishes.
|
||||
*/
|
||||
if (cts->override.compositor_extent) {
|
||||
preferred.width = cts->override.extent.width;
|
||||
|
|
|
@ -108,7 +108,7 @@ render_calc_time_warp_matrix(const struct xrt_pose *src_pose,
|
|||
m_mat4_f64_orientation(&new_q, &new_rot_inv); // This is a model matrix, a inverted view matrix.
|
||||
m_mat4_f64_invert(&new_rot_inv, &new_rot); // Invert to make it a view matrix.
|
||||
|
||||
// Combine both rotation matricies to get difference.
|
||||
// Combine both rotation matrices to get difference.
|
||||
struct xrt_matrix_4x4_f64 delta_rot, delta_rot_inv;
|
||||
m_mat4_f64_multiply(&new_rot, &src_rot_inv, &delta_rot);
|
||||
m_mat4_f64_invert(&delta_rot, &delta_rot_inv);
|
||||
|
|
|
@ -327,12 +327,12 @@ comp_render_cs_layers(struct render_compute *crc,
|
|||
*
|
||||
* Expected layouts:
|
||||
* * Layer images: VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL
|
||||
* * Sratch images: Any
|
||||
* * Scratch images: Any
|
||||
* * Target image: Any
|
||||
*
|
||||
* After call layouts:
|
||||
* * Layer images: VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL
|
||||
* * Sratch images: VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL
|
||||
* * Scratch images: VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL
|
||||
* * Target image: VK_IMAGE_LAYOUT_PRESENT_SRC_KHR
|
||||
*
|
||||
* @ingroup comp_util
|
||||
|
|
|
@ -477,7 +477,7 @@ error:
|
|||
static void
|
||||
really_destroy(struct comp_swapchain *sc)
|
||||
{
|
||||
// Re-use close function.
|
||||
// Reuse close function.
|
||||
comp_swapchain_teardown(sc);
|
||||
|
||||
free(sc);
|
||||
|
|
Loading…
Reference in a new issue