aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAapo Tahkola <[email protected]>2005-01-28 11:59:37 +0000
committerAapo Tahkola <[email protected]>2005-01-28 11:59:37 +0000
commitb365d286278a0864e771c17ba6fdec8c3a77689a (patch)
tree1088a5bcf264bd2d2a292fedf4f348114cc49b7e /src
parente451a95ecc1eef2eddd732f157ad8a663ba406dc (diff)
Fix wrong comment.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/r300_vertexprog.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_vertexprog.c b/src/mesa/drivers/dri/r300/r300_vertexprog.c
index 50a12e680e0..dc769648069 100644
--- a/src/mesa/drivers/dri/r300/r300_vertexprog.c
+++ b/src/mesa/drivers/dri/r300/r300_vertexprog.c
@@ -14,10 +14,10 @@ static void r300BindProgram(GLcontext *ctx, GLenum target, struct program *prog)
static struct program *r300NewProgram(GLcontext *ctx, GLenum target, GLuint id)
{
-r300ContextPtr rmesa = R300_CONTEXT(ctx);
-struct r300_vertex_program *vp;
-struct fragment_program *fp;
-struct ati_fragment_shader *afs;
+ r300ContextPtr rmesa = R300_CONTEXT(ctx);
+ struct r300_vertex_program *vp;
+ struct fragment_program *fp;
+ struct ati_fragment_shader *afs;
fprintf(stderr, "r300NewProgram, target=%d, id=%d\n", target, id);
@@ -89,8 +89,8 @@ static void r300ProgramStringNotify(GLcontext *ctx, GLenum target,
struct{
char *name;
int opcode;
- unsigned long ip; /* input reg index */
- unsigned long op; /* output reg index */
+ unsigned long ip; /* number of input operands and flags */
+ unsigned long op;
}op_names[]={
OPN(ABS, 1, 1),
OPN(ADD, 2, 1),