iris: set a default EDSC flag

anv sets the default EDSC flag, do the same for iris too

Fixes: 5ae278da18 ("iris: use vtbl to avoid multiple symbols, fix state base address")

Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15905>
This commit is contained in:
Rohan Garg 2022-04-12 21:07:13 +02:00 committed by Marge Bot
parent e11bedb9f5
commit 581035b3a9
1 changed files with 2 additions and 0 deletions

View File

@ -6370,6 +6370,8 @@ iris_upload_dirty_render_state(struct iris_context *ice,
wm.EarlyDepthStencilControl = EDSC_PREPS;
else if (wm_prog_data->has_side_effects)
wm.EarlyDepthStencilControl = EDSC_PSEXEC;
else
wm.EarlyDepthStencilControl = EDSC_NORMAL;
/* We could skip this bit if color writes are enabled. */
if (wm_prog_data->has_side_effects || wm_prog_data->uses_kill)