summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nouveau/nv50/nv50_surface.c
diff options
context:
space:
mode:
authorAntonio Gomes <antoniospg100@gmail.com>2023-02-26 16:29:45 -0300
committerMarge Bot <emma+marge@anholt.net>2023-03-07 18:24:56 +0000
commit9cbdf3673b4defcf0c901e3744949b2ab708e715 (patch)
tree7b3e8ed07382fad05e3aa1b3d84a30869d718dfe /src/gallium/drivers/nouveau/nv50/nv50_surface.c
parentcc36fd0f6164b4239d874dca6781157aabaf1810 (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.c2
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;