iris: Eliminate iris_uncompiled_shader::needs_edge_flag
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 12 Aug 2021 22:48:10 +0000 (15:48 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 17 Sep 2021 23:36:08 +0000 (16:36 -0700)
commitaaf2e6a9f5f3cbb6c934a71b69b7e528087e4d68
tree71b28b9db2070e9b463ae4424913d5fc11f0829c
parentd7ba52cce9ea87e042fe07aa0d2ba740cc9e511b
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>
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_program.c