mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
nir/lower_passthrough_edgeflags: return progress
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26976>
This commit is contained in:
parent
460d2ca4f3
commit
70fd20d2bc
2 changed files with 3 additions and 2 deletions
|
|
@ -6029,7 +6029,7 @@ bool nir_lower_clamp_color_outputs(nir_shader *shader);
|
|||
|
||||
bool nir_lower_flatshade(nir_shader *shader);
|
||||
|
||||
void nir_lower_passthrough_edgeflags(nir_shader *shader);
|
||||
bool nir_lower_passthrough_edgeflags(nir_shader *shader);
|
||||
bool nir_lower_patch_vertices(nir_shader *nir, unsigned static_count,
|
||||
const gl_state_index16 *uniform_state_tokens);
|
||||
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ lower_impl(nir_function_impl *impl)
|
|||
nir_metadata_dominance);
|
||||
}
|
||||
|
||||
void
|
||||
bool
|
||||
nir_lower_passthrough_edgeflags(nir_shader *shader)
|
||||
{
|
||||
assert(shader->info.stage == MESA_SHADER_VERTEX);
|
||||
|
|
@ -97,4 +97,5 @@ nir_lower_passthrough_edgeflags(nir_shader *shader)
|
|||
shader->info.vs.needs_edge_flag = true;
|
||||
|
||||
lower_impl(nir_shader_get_entrypoint(shader));
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue