From ce208be2d8793029c5abbde51c972ad1f4166701 Mon Sep 17 00:00:00 2001 From: Sagar Ghuge Date: Wed, 14 Aug 2019 13:58:33 -0700 Subject: [PATCH] intel/blorp: Assign correct view while clearing depth stencil We never saw any failures regarding this typo but it's good to assign correct stencil view while constructing blorp_params. Fixes: 0cabf93b80d0 "intel/blorp: Add an entrypoint for clearing depth and stencil" Signed-off-by: Sagar Ghuge Reviewed-by: Nanley Chery --- src/intel/blorp/blorp_clear.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/blorp/blorp_clear.c b/src/intel/blorp/blorp_clear.c index 58d3642dc1b..901fde9095b 100644 --- a/src/intel/blorp/blorp_clear.c +++ b/src/intel/blorp/blorp_clear.c @@ -711,7 +711,7 @@ blorp_clear_depth_stencil(struct blorp_batch *batch, params.dst.surf.samples = params.stencil.surf.samples; params.dst.surf.logical_level0_px = params.stencil.surf.logical_level0_px; - params.dst.view = params.depth.view; + params.dst.view = params.stencil.view; params.num_samples = params.stencil.surf.samples; -- 2.30.2