aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_vertprog.h
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2007-05-09 02:35:07 +0000
committerOliver McFadden <[email protected]>2007-05-09 02:35:07 +0000
commit59494bafb482b30f3eef468d6f11396418a09a15 (patch)
treef922e619c75bbec34a04efcc693f27590ee26867 /src/mesa/drivers/dri/r300/r300_vertprog.h
parent33939fd29b01e1de7262eb042e4091f1caa8c367 (diff)
r300: Use an array for the vertex program sources and corrected an error from
4960af08ad50a3a6ea039145de2698234c2cc892.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_vertprog.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_vertprog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_vertprog.h b/src/mesa/drivers/dri/r300/r300_vertprog.h
index 433e98960bc..005fca976b6 100644
--- a/src/mesa/drivers/dri/r300/r300_vertprog.h
+++ b/src/mesa/drivers/dri/r300/r300_vertprog.h
@@ -1,11 +1,11 @@
#ifndef __R300_VERTPROG_H_
#define __R300_VERTPROG_H_
+#include "r300_reg.h"
+
typedef struct {
GLuint op;
- GLuint src1;
- GLuint src2;
- GLuint src3;
+ GLuint src[3];
} VERTEX_SHADER_INSTRUCTION;
#define VSF_FLAG_X 1