Mesa (master): i965: Update stale comment about unused VUE map slots.
Kenneth Graunke
kwg at kemper.freedesktop.org
Thu Oct 29 05:06:06 UTC 2015
Module: Mesa
Branch: master
Commit: 6ae47a3eb4e30fa92dd60e4a16e016e8585c3c48
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ae47a3eb4e30fa92dd60e4a16e016e8585c3c48
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Oct 26 01:02:18 2015 -0700
i965: Update stale comment about unused VUE map slots.
I changed this from COUNT to PAD in commit 268008f98c3810b9f276df985dc93ef.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
---
src/mesa/drivers/dri/i965/brw_compiler.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_compiler.h b/src/mesa/drivers/dri/i965/brw_compiler.h
index bb2fbd4..91eabaf 100644
--- a/src/mesa/drivers/dri/i965/brw_compiler.h
+++ b/src/mesa/drivers/dri/i965/brw_compiler.h
@@ -441,9 +441,7 @@ struct brw_vue_map {
* directly correspond to a gl_varying_slot, the value comes from
* brw_varying_slot.
*
- * For slots that are not in use, the value is BRW_VARYING_SLOT_COUNT (this
- * simplifies code that uses the value stored in slot_to_varying to
- * create a bit mask).
+ * For slots that are not in use, the value is BRW_VARYING_SLOT_PAD.
*/
signed char slot_to_varying[BRW_VARYING_SLOT_COUNT];
More information about the mesa-commit
mailing list