[Mesa-dev] [PATCH 04/21] i965/fs: Fix channel vs. component usage in a comment.

Francisco Jerez currojerez at riseup.net
Tue Apr 28 10:08:20 PDT 2015


And remove redundant note.
---
 src/mesa/drivers/dri/i965/brw_ir_fs.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_ir_fs.h b/src/mesa/drivers/dri/i965/brw_ir_fs.h
index e4ad657e..16b113e 100644
--- a/src/mesa/drivers/dri/i965/brw_ir_fs.h
+++ b/src/mesa/drivers/dri/i965/brw_ir_fs.h
@@ -165,9 +165,7 @@ is_uniform(const fs_reg &reg)
 }
 
 /**
- * Get either of the 8-component halves of a 16-component register.
- *
- * Note: this also works if \c reg represents a SIMD16 pair of registers.
+ * Get either of the 8-channel halves of a 16-channel register.
  */
 static inline fs_reg
 half(fs_reg reg, unsigned idx)
-- 
2.3.5



More information about the mesa-dev mailing list