aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-01-23 23:33:35 -0700
committerBrian <[email protected]>2008-01-23 23:33:35 -0700
commit11349b6a5f648bbad8765bf744a8e42b0f5e5f50 (patch)
treed6c5e390c5a4ad5b73ab93cf8efb0199b6da40b5
parent2549d79ae5342a2b97c06e3b0db9da6eb7821d2e (diff)
Cell: s/FORMAT/EMIT/
-rw-r--r--src/mesa/pipe/cell/ppu/cell_state_derived.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_state_derived.c b/src/mesa/pipe/cell/ppu/cell_state_derived.c
index f907ce97e69..f236224bce1 100644
--- a/src/mesa/pipe/cell/ppu/cell_state_derived.c
+++ b/src/mesa/pipe/cell/ppu/cell_state_derived.c
@@ -69,10 +69,10 @@ static void calculate_vertex_layout( struct cell_context *cell )
#endif
/* always emit vertex pos */
- draw_emit_vertex_attr(vinfo, FORMAT_4F, INTERP_LINEAR, src++);
+ draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_LINEAR, src++);
#if 1
- front0 = draw_emit_vertex_attr(vinfo, FORMAT_4F, colorInterp, src++);
+ front0 = draw_emit_vertex_attr(vinfo, EMIT_4F, colorInterp, src++);
#endif
#if 0
@@ -95,11 +95,11 @@ static void calculate_vertex_layout( struct cell_context *cell )
case TGSI_SEMANTIC_COLOR:
if (vs->output_semantic_index[i] == 0) {
- front0 = draw_emit_vertex_attr(vinfo, FORMAT_4F, colorInterp, src++);
+ front0 = draw_emit_vertex_attr(vinfo, EMIT_4F, colorInterp, src++);
}
else {
assert(vs->output_semantic_index[i] == 1);
- front1 = draw_emit_vertex_attr(vinfo, FORMAT_4F, colorInterp, src++);
+ front1 = draw_emit_vertex_attr(vinfo, EMIT_4F, colorInterp, src++);
}
break;
@@ -114,7 +114,7 @@ static void calculate_vertex_layout( struct cell_context *cell )
break;
case TGSI_SEMANTIC_FOG:
- draw_emit_vertex_attr(vinfo, FORMAT_1F, INTERP_PERSPECTIVE, src++);
+ draw_emit_vertex_attr(vinfo, EMIT_1F, INTERP_PERSPECTIVE, src++);
break;
case TGSI_SEMANTIC_PSIZE:
@@ -126,7 +126,7 @@ static void calculate_vertex_layout( struct cell_context *cell )
case TGSI_SEMANTIC_GENERIC:
/* this includes texcoords and varying vars */
- draw_emit_vertex_attr(vinfo, FORMAT_4F, INTERP_PERSPECTIVE, src++);
+ draw_emit_vertex_attr(vinfo, EMIT_4F, INTERP_PERSPECTIVE, src++);
break;
default:
@@ -141,14 +141,14 @@ static void calculate_vertex_layout( struct cell_context *cell )
* up 1:1 with the fragment shader inputs.
*/
if (emitBack0) {
- back0 = draw_emit_vertex_attr(vinfo, FORMAT_4F, colorInterp, src++);
+ back0 = draw_emit_vertex_attr(vinfo, EMIT_4F, colorInterp, src++);
}
if (emitBack1) {
- back1 = draw_emit_vertex_attr(vinfo, FORMAT_4F, colorInterp, src++);
+ back1 = draw_emit_vertex_attr(vinfo, EMIT_4F, colorInterp, src++);
}
if (emitPsize) {
cell->psize_slot
- = draw_emit_vertex_attr(vinfo, FORMAT_1F, INTERP_CONSTANT, src++);
+ = draw_emit_vertex_attr(vinfo, EMIT_1F, INTERP_CONSTANT, src++);
}
/* If the attributes have changed, tell the draw module about