@@ -1239,7 +1239,7 @@ enum brw_message_target {
# define GEN6_CLIP_XY_TEST (1 << 28)
# define GEN6_CLIP_Z_TEST (1 << 27)
# define GEN6_CLIP_GB_TEST (1 << 26)
-/** 8-bit field of which user clip distances to clip aganist. */
+/** 8-bit field of which user clip distances to clip against. */
# define GEN6_USER_CLIP_CLIP_DISTANCES_SHIFT 16
# define GEN6_CLIP_MODE_NORMAL (0 << 13)
# define GEN6_CLIP_MODE_REJECT_ALL (3 << 13)
@@ -727,7 +727,7 @@ brw_compact_instructions(struct brw_compile *p)
dst = store + offset;
}
- /* If we didn't compact this intruction, we need to move it down into
+ /* If we didn't compact this instruction, we need to move it down into
* place.
*/
if (offset != src_offset) {
@@ -1164,7 +1164,7 @@ get_inner_do_insn(struct brw_compile *p)
*
* When the matching 'else' instruction is reached (presumably by
* countdown of the instruction count patched in by our ELSE/ENDIF
- * functions), the relevent flags are inverted.
+ * functions), the relevant flags are inverted.
*
* When the matching 'endif' instruction is reached, the flags are
* popped off. If the stack is now empty, normal execution resumes.
@@ -1431,7 +1431,7 @@ brw_ENDIF(struct brw_compile *p)
emit_endif = false;
/*
- * A single next_insn() may change the base adress of instruction store
+ * A single next_insn() may change the base address of instruction store
* memory(p->store), so call it first before referencing the instruction
* store pointer from an index
*/
@@ -173,9 +173,9 @@ static inline char *label_name(struct brw_program_instruction *i)
return i->insn.label.name;
}
-static inline bool is_relocatable(struct brw_program_instruction *intruction)
+static inline bool is_relocatable(struct brw_program_instruction *instruction)
{
- return intruction->type == GEN4ASM_INSTRUCTION_GEN_RELOCATABLE;
+ return instruction->type == GEN4ASM_INSTRUCTION_GEN_RELOCATABLE;
}
/**
Signed-off-by: Eric Engestrom <eric@engestrom.ch> --- assembler/brw_defines.h | 2 +- assembler/brw_eu_compact.c | 2 +- assembler/brw_eu_emit.c | 4 ++-- assembler/gen4asm.h | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-)