virgl: Fix typos.
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8072>
This commit is contained 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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user