summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-24 15:04:18 +0000
committerKeith Whitwell <[email protected]>2009-11-24 15:04:18 +0000
commitfe2b31e4a896167a33d267822b36eb2de0ceecba (patch)
treee43f45ffff27ff86c686b0b06f8ce3ddd327ab05 /src/gallium/drivers/r300
parent7d6c8f980d1e23ad6f557d650e89c715861a3b0c (diff)
tgsi: rename fields of tgsi_full_declaration to reduce verbosity
DeclarationRange -> Range
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r--src/gallium/drivers/r300/r300_vs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_vs.c b/src/gallium/drivers/r300/r300_vs.c
index 939b13e4b35..096707dda40 100644
--- a/src/gallium/drivers/r300/r300_vs.c
+++ b/src/gallium/drivers/r300/r300_vs.c
@@ -79,19 +79,19 @@ static void set_vertex_inputs_outputs(struct r300_vertex_program_compiler * c)
switch (decl->Semantic.Name) {
case TGSI_SEMANTIC_POSITION:
- c->code->outputs[decl->DeclarationRange.First] = 0;
+ c->code->outputs[decl->Range.First] = 0;
break;
case TGSI_SEMANTIC_PSIZE:
- c->code->outputs[decl->DeclarationRange.First] = 1;
+ c->code->outputs[decl->Range.First] = 1;
break;
case TGSI_SEMANTIC_COLOR:
- c->code->outputs[decl->DeclarationRange.First] = 1 +
+ c->code->outputs[decl->Range.First] = 1 +
(pointsize ? 1 : 0) +
colors++;
break;
case TGSI_SEMANTIC_FOG:
case TGSI_SEMANTIC_GENERIC:
- c->code->outputs[decl->DeclarationRange.First] = 1 +
+ c->code->outputs[decl->Range.First] = 1 +
(pointsize ? 1 : 0) +
out_colors +
generic++;