mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 08:30:10 +01:00
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:
parent
a64fe5ae5b
commit
564a9e18a7
1 changed files with 4 additions and 1 deletions
|
|
@ -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 *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue