diff options
author | Brian <[email protected]> | 2008-02-27 16:11:26 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-27 16:11:26 -0700 |
commit | f504d87240542016213569b5da89e251adebc31d (patch) | |
tree | b89bc279bdacb7489286e12e7a9a6bac19c38000 /src/gallium/drivers/i965simple | |
parent | 7ba1afb03308685eb07d6b88184906ac42f60c2b (diff) |
gallium/i965: silence warnings
Diffstat (limited to 'src/gallium/drivers/i965simple')
-rw-r--r-- | src/gallium/drivers/i965simple/brw_surface.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/i965simple/brw_vs_emit.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965simple/brw_surface.c b/src/gallium/drivers/i965simple/brw_surface.c index dc4846d39fc..c99a91dcf76 100644 --- a/src/gallium/drivers/i965simple/brw_surface.c +++ b/src/gallium/drivers/i965simple/brw_surface.c @@ -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; } diff --git a/src/gallium/drivers/i965simple/brw_vs_emit.c b/src/gallium/drivers/i965simple/brw_vs_emit.c index 05df4860eda..33bbdc95c68 100644 --- a/src/gallium/drivers/i965simple/brw_vs_emit.c +++ b/src/gallium/drivers/i965simple/brw_vs_emit.c @@ -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; |