iris: Eliminate iris_uncompiled_shader::needs_edge_flag

Use the flag that was set by nir_lower_passthrough_edgeflags.  The
lowering passes will soon be moved to a finalize_nir hook, so there
won't be any choice.  Ideally we'd like to eliminate iris_fix_edge_flags
completely, and this is a first step.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12858>
This commit is contained in:
Ian Romanick
2021-08-12 15:48:10 -07:00
parent d7ba52cce9
commit aaf2e6a9f5
2 changed files with 3 additions and 6 deletions

View File

@@ -403,8 +403,6 @@ struct iris_uncompiled_shader {
/** Have any shader variants been compiled yet? */
bool compiled_once;
bool needs_edge_flag;
/* Whether shader uses atomic operations. */
bool uses_atomic_load_store;