The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

comp: Fix codespell errors.

authored by

Rylie Pavlik and committed by
Simon Zeni
c0be8f24 dd82b04a

+6 -6
+1 -1
src/xrt/compositor/main/comp_renderer.c
··· 1126 1126 const uint32_t view_count = c->nr.view_count; 1127 1127 enum comp_target_fov_source fov_source = COMP_TARGET_FOV_SOURCE_DISTORTION; 1128 1128 1129 - // For sratch image debugging. 1129 + // For scratch image debugging. 1130 1130 struct comp_render_scratch_state crss; 1131 1131 scratch_get_init(&crss, r, view_count); 1132 1132
+1 -1
src/xrt/compositor/main/comp_target_swapchain.c
··· 130 130 /* 131 131 * A sub-class wants us to use these extents over the ones the 132 132 * compositor preferred, this is probably due to the target only 133 - * upporting this size so we better respect those wishes. 133 + * supporting this size so we better respect those wishes. 134 134 */ 135 135 if (cts->override.compositor_extent) { 136 136 preferred.width = cts->override.extent.width;
+1 -1
src/xrt/compositor/render/render_util.c
··· 108 108 m_mat4_f64_orientation(&new_q, &new_rot_inv); // This is a model matrix, a inverted view matrix. 109 109 m_mat4_f64_invert(&new_rot_inv, &new_rot); // Invert to make it a view matrix. 110 110 111 - // Combine both rotation matricies to get difference. 111 + // Combine both rotation matrices to get difference. 112 112 struct xrt_matrix_4x4_f64 delta_rot, delta_rot_inv; 113 113 m_mat4_f64_multiply(&new_rot, &src_rot_inv, &delta_rot); 114 114 m_mat4_f64_invert(&delta_rot, &delta_rot_inv);
+2 -2
src/xrt/compositor/util/comp_render.h
··· 327 327 * 328 328 * Expected layouts: 329 329 * * Layer images: VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL 330 - * * Sratch images: Any 330 + * * Scratch images: Any 331 331 * * Target image: Any 332 332 * 333 333 * After call layouts: 334 334 * * Layer images: VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL 335 - * * Sratch images: VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL 335 + * * Scratch images: VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL 336 336 * * Target image: VK_IMAGE_LAYOUT_PRESENT_SRC_KHR 337 337 * 338 338 * @ingroup comp_util
+1 -1
src/xrt/compositor/util/comp_swapchain.c
··· 477 477 static void 478 478 really_destroy(struct comp_swapchain *sc) 479 479 { 480 - // Re-use close function. 480 + // Reuse close function. 481 481 comp_swapchain_teardown(sc); 482 482 483 483 free(sc);