summaryrefslogtreecommitdiffstats
path: root/src/mesa/slang/slang_link.c
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2010-07-13 21:49:53 -0400
committerZack Rusin <[email protected]>2010-07-13 21:49:53 -0400
commit1491c6aa2de17760ab157a3fe71e45006e4eecf6 (patch)
tree5b9cc35d0c268439529fe26c12549ccbbf9f9e20 /src/mesa/slang/slang_link.c
parent79b643dd02ac4e19f24c9cd88843719746f8ec69 (diff)
mesa: add comments and change Index2D to just Index2
Diffstat (limited to 'src/mesa/slang/slang_link.c')
-rw-r--r--src/mesa/slang/slang_link.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/slang/slang_link.c b/src/mesa/slang/slang_link.c
index 8d5a9e96ad9..955ee79ed86 100644
--- a/src/mesa/slang/slang_link.c
+++ b/src/mesa/slang/slang_link.c
@@ -762,10 +762,10 @@ _slang_update_inputs_outputs(struct gl_program *prog)
for (j = 0; j < numSrc; j++) {
if (inst->SrcReg[j].File == PROGRAM_INPUT) {
if (prog->Target == MESA_GEOMETRY_PROGRAM &&
- inst->SrcReg[j].HasIndex2D)
+ inst->SrcReg[j].HasIndex2)
prog->InputsRead |= get_inputs_read_mask(prog->Target,
- inst->SrcReg[j].Index2D,
- inst->SrcReg[j].RelAddr2D);
+ inst->SrcReg[j].Index2,
+ inst->SrcReg[j].RelAddr2);
else
prog->InputsRead |= get_inputs_read_mask(prog->Target,
inst->SrcReg[j].Index,