Mesa (master): softpipe: Fix typos.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Jan 3 00:52:11 UTC 2021
Module: Mesa
Branch: master
Commit: 8bec23a91a09a5cdf2aefe15e987e3bf9fdd4994
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8bec23a91a09a5cdf2aefe15e987e3bf9fdd4994
Author: Vinson Lee <vlee at freedesktop.org>
Date: Wed Dec 30 19:59:08 2020 -0800
softpipe: Fix typos.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8279>
---
src/gallium/drivers/softpipe/sp_context.c | 2 +-
src/gallium/drivers/softpipe/sp_image.c | 2 +-
src/gallium/drivers/softpipe/sp_tile_cache.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c
index d82e996bffc..a633a43a431 100644
--- a/src/gallium/drivers/softpipe/sp_context.c
+++ b/src/gallium/drivers/softpipe/sp_context.c
@@ -358,7 +358,7 @@ softpipe_create_context(struct pipe_screen *screen,
sp_init_surface_functions(softpipe);
#if DO_PSTIPPLE_IN_HELPER_MODULE
- /* create the polgon stipple sampler */
+ /* create the polygon stipple sampler */
softpipe->pstipple.sampler = util_pstipple_create_sampler(&softpipe->pipe);
#endif
diff --git a/src/gallium/drivers/softpipe/sp_image.c b/src/gallium/drivers/softpipe/sp_image.c
index f92b39df14e..fb97e66547d 100644
--- a/src/gallium/drivers/softpipe/sp_image.c
+++ b/src/gallium/drivers/softpipe/sp_image.c
@@ -175,7 +175,7 @@ get_dimensions(const struct pipe_image_view *iview,
else
*depth = spr->base.array_size;
- /* Make sure the resource and view have compatiable formats */
+ /* Make sure the resource and view have compatible formats */
if (util_format_get_blocksize(pformat) >
util_format_get_blocksize(spr->base.format))
return false;
diff --git a/src/gallium/drivers/softpipe/sp_tile_cache.c b/src/gallium/drivers/softpipe/sp_tile_cache.c
index 54814ca4fc2..81121d49fdb 100644
--- a/src/gallium/drivers/softpipe/sp_tile_cache.c
+++ b/src/gallium/drivers/softpipe/sp_tile_cache.c
@@ -45,7 +45,7 @@ sp_alloc_tile(struct softpipe_tile_cache *tc);
/**
* Return the position in the cache for the tile that contains win pos (x,y).
* We currently use a direct mapped cache so this is like a hack key.
- * At some point we should investige something more sophisticated, like
+ * At some point we should investigate something more sophisticated, like
* a LRU replacement policy.
*/
#define CACHE_POS(x, y, l) \
More information about the mesa-commit
mailing list