projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b352d67
)
r600g: init vars to silence warnings
author
Brian Paul
<brianp@vmware.com>
Mon, 23 Apr 2012 19:29:06 +0000
(13:29 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 23 Apr 2012 19:29:06 +0000
(13:29 -0600)
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index b594b28380ac8f866cb3c3a25b1415cb20501833..f00550db6d83236d7f0c2dad6471d7ebc282b042 100644
(file)
--- 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);