summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2021-01-02 17:11:56 -0800
committerVinson Lee <vlee@freedesktop.org>2021-01-07 20:42:36 -0800
commite248119a82e8e13d8c071589433baf91c87eb064 (patch)
tree584f02bcad9521248bfed610e6a03ceda1ddbdf2 /src/gallium/drivers/r300/r300_state.c
parentf1b51d472a7b8231b5627fdcaa00740e0ffb64fc (diff)
r300: Fix typos.
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8296>
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r--src/gallium/drivers/r300/r300_state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index f5cbc93686d..0e5d0392bfd 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -47,7 +47,7 @@
#include "r300_texture.h"
#include "r300_vs.h"
-/* r300_state: Functions used to intialize state context by translating
+/* r300_state: Functions used to initialize state context by translating
* Gallium state objects into semi-native r300 state objects. */
#define UPDATE_STATE(cso, atom) \
@@ -1502,7 +1502,7 @@ static uint32_t r300_assign_texture_cache_region(unsigned index, unsigned num)
* EIGHTH_0 = 8
* EIGHTH_1 = 9
*
- * First 3 textures will get 3/4 of size of the cache, divived evenly
+ * First 3 textures will get 3/4 of size of the cache, divided evenly
* between them. The last 1/4 of the cache must be divided between
* the last 2 textures, each will therefore get 1/8 of the cache.
* Why not just to use "5 + texture_index" ?
@@ -1618,7 +1618,7 @@ r300_create_sampler_view_custom(struct pipe_context *pipe,
dxtc_swizzle);
if (hwformat == ~0) {
- fprintf(stderr, "r300: Ooops. Got unsupported format %s in %s.\n",
+ fprintf(stderr, "r300: Oops. Got unsupported format %s in %s.\n",
util_format_short_name(templ->format), __func__);
}
assert(hwformat != ~0);