summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSagar Ghuge <[email protected]>2019-08-14 13:58:33 -0700
committerSagar Ghuge <[email protected]>2019-10-29 14:46:15 -0700
commitce208be2d8793029c5abbde51c972ad1f4166701 (patch)
tree845addeb5d62fd212e2e9bba708b1af0ea5d58f3
parent4287e0a4e4e9bb2922e40fcc84ca46e9d7aa5578 (diff)
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 <[email protected]> Reviewed-by: Nanley Chery <[email protected]>
-rw-r--r--src/intel/blorp/blorp_clear.c2
1 files changed, 1 insertions, 1 deletions
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;