summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_span.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast/s_span.h')
-rw-r--r--src/mesa/swrast/s_span.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_span.h b/src/mesa/swrast/s_span.h
index 292679bda1..ff91768001 100644
--- a/src/mesa/swrast/s_span.h
+++ b/src/mesa/swrast/s_span.h
@@ -81,6 +81,9 @@ struct arrays2 {
typedef struct sw_span_arrays
{
/** Per-fragment attributes (indexed by FRAG_ATTRIB_* tokens) */
+ /* XXX someday look at transposing first two indexes for better memory
+ * access pattern.
+ */
GLfloat attribs[FRAG_ATTRIB_MAX][MAX_WIDTH][4];
/** This mask indicates which fragments are alive or culled */