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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user