diff options
author | Brian Paul <[email protected]> | 2012-04-23 13:29:06 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-04-23 13:29:06 -0600 |
commit | 7f5420762c0e3cb21bda66ea8ea32b516a4e3660 (patch) | |
tree | 8cb7f9a9003c36543a63cc20144da5574622a523 /src/gallium/drivers/r600/r600_shader.c | |
parent | b352d676e4ab8656a4fbae33493e5adf3a932708 (diff) |
r600g: init vars to silence warnings
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index b594b28380a..f00550db6d8 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -1042,8 +1042,8 @@ static int r600_shader_from_tgsi(struct r600_context * rctx, struct r600_pipe_sh int next_pixel_base = 0, next_pos_base = 60, next_param_base = 0; /* Declarations used by llvm code */ bool use_llvm = false; - unsigned char * inst_bytes; - unsigned inst_byte_count; + unsigned char * inst_bytes = NULL; + unsigned inst_byte_count = 0; #ifdef R600_USE_LLVM use_llvm = debug_get_bool_option("R600_LLVM", TRUE); |