Commit 8bec23a9 authored by Vinson Lee's avatar Vinson Lee
Browse files

softpipe: Fix typos.


Signed-off-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
Part-of: <!8279>
parent 9ef2c44c
...@@ -358,7 +358,7 @@ softpipe_create_context(struct pipe_screen *screen, ...@@ -358,7 +358,7 @@ softpipe_create_context(struct pipe_screen *screen,
sp_init_surface_functions(softpipe); sp_init_surface_functions(softpipe);
#if DO_PSTIPPLE_IN_HELPER_MODULE #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); softpipe->pstipple.sampler = util_pstipple_create_sampler(&softpipe->pipe);
#endif #endif
......
...@@ -175,7 +175,7 @@ get_dimensions(const struct pipe_image_view *iview, ...@@ -175,7 +175,7 @@ get_dimensions(const struct pipe_image_view *iview,
else else
*depth = spr->base.array_size; *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) > if (util_format_get_blocksize(pformat) >
util_format_get_blocksize(spr->base.format)) util_format_get_blocksize(spr->base.format))
return false; return false;
......
...@@ -45,7 +45,7 @@ sp_alloc_tile(struct softpipe_tile_cache *tc); ...@@ -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). * 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. * 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. * a LRU replacement policy.
*/ */
#define CACHE_POS(x, y, l) \ #define CACHE_POS(x, y, l) \
......
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