mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
radeonsi: initialize the radeon_surface structure
this fixes valgrind warnings Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
731c6aa52d
commit
e801b78aa0
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue