mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
iris: update depth value for stages after fast clear depth
This should fix an outdated depth value visible from the shader side.
v1: (Nanley Chery)
- fix commit message
v2: (Nanley Chery)
- replace `fixes` tag by `mesa-stable`
Closes: #3883
Cc: 20.3 20.2 <mesa-stable>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7838>
(cherry picked from commit bdd09066fa)
This commit is contained in:
parent
7665dc409c
commit
c8162aa73a
2 changed files with 2 additions and 1 deletions
|
|
@ -481,7 +481,7 @@
|
|||
"description": "iris: update depth value for stages after fast clear depth",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -533,6 +533,7 @@ fast_clear_depth(struct iris_context *ice,
|
|||
iris_resource_set_aux_state(ice, res, level, box->z, box->depth,
|
||||
ISL_AUX_STATE_CLEAR);
|
||||
ice->state.dirty |= IRIS_DIRTY_DEPTH_BUFFER;
|
||||
ice->state.stage_dirty |= IRIS_ALL_STAGE_DIRTY_BINDINGS;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue