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: 0cabf93b80 "intel/blorp: Add an entrypoint for clearing depth and stencil"

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
This commit is contained in:
Sagar Ghuge 2019-08-14 13:58:33 -07:00
parent 4287e0a4e4
commit ce208be2d8

View file

@ -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;