diff options
author | Sagar Ghuge <[email protected]> | 2019-08-14 13:58:33 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-10-30 10:55:34 -0700 |
commit | db4f7eae8bf617c9409f4f94b4d2b7b40e7c8b6c (patch) | |
tree | 8b7c57d8707315de77eae6af2ae4d9e45952b5fe | |
parent | 5290062a3f1c039c6b94069dd503cf1ddb6365cd (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]>
(cherry picked from commit ce208be2d8793029c5abbde51c972ad1f4166701)
-rw-r--r-- | src/intel/blorp/blorp_clear.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/blorp/blorp_clear.c b/src/intel/blorp/blorp_clear.c index ba103c8377e..9f2c1d45725 100644 --- a/src/intel/blorp/blorp_clear.c +++ b/src/intel/blorp/blorp_clear.c @@ -606,7 +606,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; |