zink: lower flrp64 and ffma64 when in softfp64 mode
fixes a bunch of crashes Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8986>
This commit is contained in:
committed by
Marge Bot
parent
a64fe5ae5b
commit
564a9e18a7
@@ -234,8 +234,11 @@ zink_screen_init_compiler(struct zink_screen *screen)
|
||||
if (!screen->info.feats.features.shaderInt64)
|
||||
screen->nir_options.lower_int64_options = ~0;
|
||||
|
||||
if (!screen->info.feats.features.shaderFloat64)
|
||||
if (!screen->info.feats.features.shaderFloat64) {
|
||||
screen->nir_options.lower_doubles_options = ~0;
|
||||
screen->nir_options.lower_flrp64 = true;
|
||||
screen->nir_options.lower_ffma64 = true;
|
||||
}
|
||||
}
|
||||
|
||||
const void *
|
||||
|
||||
Reference in New Issue
Block a user