Module: Mesa Branch: master Commit: cfb5ce782cd42e18f8bc292f02fc9e5c1b9d727f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfb5ce782cd42e18f8bc292f02fc9e5c1b9d727f
Author: Erik Faye-Lund <[email protected]> Date: Wed Jan 6 07:38:41 2021 +0100 zink: also lower scmp for soft-fp We recently added two versions of these options, due to soft-fp support. So let's also add the lowering to the soft-fp version. Fixes: 43302ead383 ("zink: use lower_scmp instead of open-coding") Reviewed-By: Mike Blumenkrantz <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8347> --- src/gallium/drivers/zink/zink_compiler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/zink/zink_compiler.c b/src/gallium/drivers/zink/zink_compiler.c index b286f625386..c58de2a845d 100644 --- a/src/gallium/drivers/zink/zink_compiler.c +++ b/src/gallium/drivers/zink/zink_compiler.c @@ -228,6 +228,7 @@ static const struct nir_shader_compiler_options softfp_nir_options = { .lower_ffma16 = true, .lower_ffma32 = true, .lower_ffma64 = true, + .lower_scmp = true, .lower_fdph = true, .lower_flrp32 = true, .lower_fpow = true, _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
