projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
731c6aa
)
radeonsi: initialize the radeon_surface structure
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 6 Aug 2013 04:23:52 +0000
(06:23 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 15 Aug 2013 00:03:03 +0000
(
02:03
+0200)
this fixes valgrind warnings
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/r600_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/r600_texture.c
b/src/gallium/drivers/radeonsi/r600_texture.c
index 40c0235b5c492b0d4947f9389aae3226e0ffd461..9c0b75b66568d47317f4f34a5e80cb9f8cee3a2f 100644
(file)
--- a/
src/gallium/drivers/radeonsi/r600_texture.c
+++ b/
src/gallium/drivers/radeonsi/r600_texture.c
@@
-523,7
+523,7
@@
struct pipe_resource *si_texture_create(struct pipe_screen *screen,
const struct pipe_resource *templ)
{
struct r600_screen *rscreen = (struct r600_screen*)screen;
- struct radeon_surface surface;
+ struct radeon_surface surface
= {0}
;
unsigned array_mode = V_009910_ARRAY_LINEAR_ALIGNED;
int r;