gallium/i965: silence warnings
authorBrian <brian@i915.localnet.net>
Wed, 27 Feb 2008 23:11:26 +0000 (16:11 -0700)
committerBrian <brian@i915.localnet.net>
Wed, 27 Feb 2008 23:11:26 +0000 (16:11 -0700)
src/gallium/drivers/i965simple/brw_surface.c
src/gallium/drivers/i965simple/brw_vs_emit.c

index dc4846d39fc5287a84dca5607182cfc0aea83104..c99a91dcf76478f61ddf83af81f40a2309edbe56 100644 (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;
 }
index 05df4860edab32492534b6c9cd3847ee57f80e90..33bbdc95c680b7ce1ad0fad2d2570b0556af84a8 100644 (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;