summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
authorZoë Blade <[email protected]>2015-04-22 11:33:17 +0100
committerFrancisco Jerez <[email protected]>2015-04-27 17:28:29 +0300
commit05e7f7f4388bde882b7ce74124000a4d435affff (patch)
tree9a7c7ea02152900a03fc6662aa60a7b8f79dad06 /src/gallium/drivers/r300
parente17dc004fd96e589e92ee64deeb45339af4bf671 (diff)
Fix a few typos
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r--src/gallium/drivers/r300/compiler/memory_pool.h2
-rw-r--r--src/gallium/drivers/r300/compiler/radeon_variable.c2
-rw-r--r--src/gallium/drivers/r300/r300_emit.c2
-rw-r--r--src/gallium/drivers/r300/r300_reg.h2
-rw-r--r--src/gallium/drivers/r300/r300_tgsi_to_rc.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/r300/compiler/memory_pool.h b/src/gallium/drivers/r300/compiler/memory_pool.h
index 42344d0e3ba..efb000a0aba 100644
--- a/src/gallium/drivers/r300/compiler/memory_pool.h
+++ b/src/gallium/drivers/r300/compiler/memory_pool.h
@@ -49,7 +49,7 @@ void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes);
/**
* Generic helper for growing an array that has separate size/count
- * and reserved counters to accomodate up to num new element.
+ * and reserved counters to accommodate up to num new element.
*
* type * Array;
* unsigned int Size;
diff --git a/src/gallium/drivers/r300/compiler/radeon_variable.c b/src/gallium/drivers/r300/compiler/radeon_variable.c
index ba895239fb6..7730b937372 100644
--- a/src/gallium/drivers/r300/compiler/radeon_variable.c
+++ b/src/gallium/drivers/r300/compiler/radeon_variable.c
@@ -98,7 +98,7 @@ void rc_variable_change_dst(
/* Reuse the source index of the source that
* was just deleted and set its register
* index. We can't use rc_pair_alloc_source
- * for this becuase it might return a source
+ * for this because it might return a source
* index that is already being used. */
if (src_type & RC_SOURCE_RGB) {
pair_inst->RGB.Src[src_index]
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index b632963d187..4c9971e5128 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -694,7 +694,7 @@ static void r300_emit_query_end_frag_pipes(struct r300_context *r300,
OUT_CS_RELOC(r300->query_current);
case 2:
/* pipe 1 only */
- /* As mentioned above, accomodate RV380 and older. */
+ /* As mentioned above, accommodate RV380 and older. */
OUT_CS_REG(R300_SU_REG_DEST,
1 << (caps->high_second_pipe ? 3 : 1));
OUT_CS_REG(R300_ZB_ZPASS_ADDR, (query->num_results + 1) * 4);
diff --git a/src/gallium/drivers/r300/r300_reg.h b/src/gallium/drivers/r300/r300_reg.h
index 8a0728d9430..9c373c5d111 100644
--- a/src/gallium/drivers/r300/r300_reg.h
+++ b/src/gallium/drivers/r300/r300_reg.h
@@ -1179,7 +1179,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#define R300_GA_SOFT_RESET 0x429c
/* Not sure why there are duplicate of factor and constant values.
- * My best guess so far is that there are seperate zbiases for test and write.
+ * My best guess so far is that there are separate zbiases for test and write.
* Ordering might be wrong.
* Some of the tests indicate that fgl has a fallback implementation of zbias
* via pixel shaders.
diff --git a/src/gallium/drivers/r300/r300_tgsi_to_rc.h b/src/gallium/drivers/r300/r300_tgsi_to_rc.h
index adb044cfe56..21f35e15ca2 100644
--- a/src/gallium/drivers/r300/r300_tgsi_to_rc.h
+++ b/src/gallium/drivers/r300/r300_tgsi_to_rc.h
@@ -48,7 +48,7 @@ struct tgsi_to_rc {
* until rc grows proper support, indicate if they're safe to use. */
boolean use_half_swizzles;
- /* If an error occured. */
+ /* If an error occurred. */
boolean error;
};