diff options
author | Antonio Gomes <antoniospg100@gmail.com> | 2023-02-26 16:29:45 -0300 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-03-07 18:24:56 +0000 |
commit | 9cbdf3673b4defcf0c901e3744949b2ab708e715 (patch) | |
tree | 7b3e8ed07382fad05e3aa1b3d84a30869d718dfe /src/gallium/drivers/nouveau/nv50/nv50_surface.c | |
parent | cc36fd0f6164b4239d874dca6781157aabaf1810 (diff) |
mesa/st, nine, nouveau: Fix uninitialized pipe_sampler_view structs
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20378>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50/nv50_surface.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nv50/nv50_surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_surface.c b/src/gallium/drivers/nouveau/nv50/nv50_surface.c index 44f195a597f..0b5ac7df131 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_surface.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_surface.c @@ -1157,7 +1157,7 @@ nv50_blit_set_src(struct nv50_blitctx *blit, { struct nv50_context *nv50 = blit->nv50; struct pipe_context *pipe = &nv50->base.pipe; - struct pipe_sampler_view templ; + struct pipe_sampler_view templ = {0}; uint32_t flags; enum pipe_texture_target target; |