Explorar el Código

r600g: init vars to silence warnings

tags/i965-primitive-restart-v2
Brian Paul hace 13 años
padre
commit
7f5420762c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/gallium/drivers/r600/r600_shader.c

+ 2
- 2
src/gallium/drivers/r600/r600_shader.c Ver fichero

@@ -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);

Cargando…
Cancelar
Guardar