gallium/i965: silence warnings

This commit is contained in:
Brian 2008-02-27 16:11:26 -07:00
parent 7ba1afb033
commit f504d87240
2 changed files with 2 additions and 1 deletions

View File

@ -164,6 +164,7 @@ brw_surface_fill(struct pipe_context *pipe,
void
brw_init_surface_functions(struct brw_context *brw)
{
(void) brw_surface_data; /* silence warning */
brw->pipe.surface_copy = brw_surface_copy;
brw->pipe.surface_fill = brw_surface_fill;
}

View File

@ -1051,7 +1051,7 @@ static void process_instruction(struct brw_vs_compile *c,
{
struct brw_reg args[3], dst;
struct brw_compile *p = &c->func;
struct brw_indirect stack_index = brw_indirect(0, 0);
/*struct brw_indirect stack_index = brw_indirect(0, 0);*/
unsigned i;
unsigned index;
unsigned file;