Mesa (master): virgl: Fix typos.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jan 1 02:20:32 UTC 2021
Module: Mesa
Branch: master
Commit: 0644f885b00a65368eb66209c4d486cf038a529a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0644f885b00a65368eb66209c4d486cf038a529a
Author: Vinson Lee <vlee at freedesktop.org>
Date: Fri Dec 11 19:52:30 2020 -0800
virgl: Fix typos.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Gert Wollny <gert.wollny at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8072>
---
src/gallium/drivers/virgl/virgl_driinfo.h.in | 2 +-
src/gallium/drivers/virgl/virgl_query.c | 2 +-
src/gallium/drivers/virgl/virgl_screen.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gallium/drivers/virgl/virgl_driinfo.h.in b/src/gallium/drivers/virgl/virgl_driinfo.h.in
index 6704e530b3f..7a1fef7eb0d 100644
--- a/src/gallium/drivers/virgl/virgl_driinfo.h.in
+++ b/src/gallium/drivers/virgl/virgl_driinfo.h.in
@@ -4,7 +4,7 @@
// the tweak name as define to virgl_protocol.h
// 2. Add the tweak here with the appropriated default value
// 3. Add the code to query the tweak in virgl_create_screen
-// 4. Add the code to send the tweek to the host in virgl_send_tweaks
+// 4. Add the code to send the tweak to the host in virgl_send_tweaks
// 5. Implement the tweak in virglrenderer
DRI_CONF_SECTION_MISCELLANEOUS
DRI_CONF_GLES_EMULATE_BGRA(true)
diff --git a/src/gallium/drivers/virgl/virgl_query.c b/src/gallium/drivers/virgl/virgl_query.c
index 38ede54036a..4d1eb3d3bd3 100644
--- a/src/gallium/drivers/virgl/virgl_query.c
+++ b/src/gallium/drivers/virgl/virgl_query.c
@@ -194,7 +194,7 @@ static bool virgl_get_query_result(struct pipe_context *ctx,
host_state = vs->vws->resource_map(vs->vws, query->buf->hw_res);
- /* The resouce is idle and the result should be available at this point,
+ /* The resource is idle and the result should be available at this point,
* unless we are dealing with an older host. In that case,
* VIRGL_CCMD_GET_QUERY_RESULT is not fenced, the buffer is not
* coherent, and transfers are unsynchronized. We have to repeatedly
diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c
index 80104b859d2..f287329e640 100644
--- a/src/gallium/drivers/virgl/virgl_screen.c
+++ b/src/gallium/drivers/virgl/virgl_screen.c
@@ -814,7 +814,7 @@ fixup_formats(union virgl_caps *caps, struct virgl_supported_format_mask *mask)
const size_t size = ARRAY_SIZE(mask->bitmask);
for (int i = 0; i < size; ++i) {
if (mask->bitmask[i] != 0)
- return; /* we got some formats, we definately have a new protocol */
+ return; /* we got some formats, we definitely have a new protocol */
}
/* old protocol used; fall back to considering all sampleable formats valid
More information about the mesa-commit
mailing list