mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
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:
parent
4287e0a4e4
commit
ce208be2d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue