nir: Add bool return value to nir_lower_texcoord_replace(..)

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33621>
This commit is contained in:
Christian Gmeiner
2025-02-19 11:35:33 +01:00
committed by Marge Bot
parent 13e750aabe
commit 09fa418b7d
2 changed files with 4 additions and 2 deletions
@@ -127,7 +127,7 @@ nir_lower_texcoord_replace_impl(nir_function_impl *impl,
nir_metadata_preserve(impl, nir_metadata_control_flow);
}
void
bool
nir_lower_texcoord_replace(nir_shader *s, unsigned coord_replace,
bool point_coord_is_sysval, bool yinvert)
{
@@ -138,4 +138,6 @@ nir_lower_texcoord_replace(nir_shader *s, unsigned coord_replace,
nir_lower_texcoord_replace_impl(impl, coord_replace,
point_coord_is_sysval, yinvert);
}
return true;
}