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:
parent
e11bedb9f5
commit
581035b3a9
|
@ -6370,6 +6370,8 @@ iris_upload_dirty_render_state(struct iris_context *ice,
|
||||||
wm.EarlyDepthStencilControl = EDSC_PREPS;
|
wm.EarlyDepthStencilControl = EDSC_PREPS;
|
||||||
else if (wm_prog_data->has_side_effects)
|
else if (wm_prog_data->has_side_effects)
|
||||||
wm.EarlyDepthStencilControl = EDSC_PSEXEC;
|
wm.EarlyDepthStencilControl = EDSC_PSEXEC;
|
||||||
|
else
|
||||||
|
wm.EarlyDepthStencilControl = EDSC_NORMAL;
|
||||||
|
|
||||||
/* We could skip this bit if color writes are enabled. */
|
/* We could skip this bit if color writes are enabled. */
|
||||||
if (wm_prog_data->has_side_effects || wm_prog_data->uses_kill)
|
if (wm_prog_data->has_side_effects || wm_prog_data->uses_kill)
|
||||||
|
|
Loading…
Reference in New Issue