r300-gallium: Turn true and false into TRUE and FALSE.

Match the rest of Gallium.
This commit is contained in:
Corbin Simpson 2009-02-27 10:46:14 -08:00
parent 67025f7893
commit fd5411fe36
4 changed files with 10 additions and 10 deletions

View file

@ -73,7 +73,7 @@ static boolean r300_draw_range_elements(struct pipe_context* pipe,
start + count - 1, NULL);
}
return true;
return TRUE;
}
static boolean r300_draw_elements(struct pipe_context* pipe,

View file

@ -457,7 +457,7 @@ static void r300_bind_fs_state(struct pipe_context* pipe, void* shader)
}
}
fs->translated = true;
fs->translated = TRUE;
r300->fs = fs;
r300->dirty_state |= R300_NEW_FRAGMENT_SHADER;

View file

@ -59,7 +59,7 @@ static void r300_update_vertex_layout(struct r300_context* r300)
{
struct r300_vertex_format vformat;
struct vertex_info vinfo;
boolean pos = false, psize = false, fog = false;
boolean pos = FALSE, psize = FALSE, fog = FALSE;
int i, texs = 0, cols = 0;
int tab[16];
@ -75,17 +75,17 @@ static void r300_update_vertex_layout(struct r300_context* r300)
for (i = 0; i < info->num_inputs; i++) {
switch (info->input_semantic_name[i]) {
case TGSI_SEMANTIC_POSITION:
pos = true;
pos = TRUE;
tab[i] = 0;
break;
case TGSI_SEMANTIC_COLOR:
tab[i] = 2 + cols++;
break;
case TGSI_SEMANTIC_FOG:
fog = true;
fog = TRUE;
break;
case TGSI_SEMANTIC_PSIZE:
psize = true;
psize = TRUE;
tab[i] = 1;
break;
case TGSI_SEMANTIC_GENERIC:

View file

@ -92,9 +92,9 @@ static boolean r300_swtcl_render_allocate_vertices(struct vbuf_render* render,
r300render->vertex_size = vertex_size;
if (r300render->vbo) {
return true;
return TRUE;
} else {
return false;
return FALSE;
}
}
@ -168,11 +168,11 @@ static boolean r300_swtcl_render_set_primitive(struct vbuf_render* render,
r300render->hwprim = R300_VAP_VF_CNTL__PRIM_POLYGON;
break;
default:
return false;
return FALSE;
break;
}
return true;
return TRUE;
}
static void prepare_render(struct r300_swtcl_render* render)