Commit 0644f885 authored by Vinson Lee's avatar Vinson Lee
Browse files

virgl: Fix typos.


Signed-off-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
Reviewed-by: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
Part-of: <!8072>
parent 9f213238
......@@ -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)
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment