d3d12: Set lower full fp64 compiler options flag when needed
Reviewed-by: Bill Kristiansen <billkris@microsoft.com> Reviewed-By: Sil Vilerino <sivileri@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14837>
This commit is contained in:
parent
204102099a
commit
252a89a2c9
|
@ -1235,6 +1235,9 @@ d3d12_init_screen(struct d3d12_screen *screen, struct sw_winsys *winsys, IUnknow
|
|||
screen->nir_options.lower_int64_options = (nir_lower_int64_options)~0;
|
||||
}
|
||||
|
||||
if (!screen->opts.DoublePrecisionFloatShaderOps)
|
||||
screen->nir_options.lower_doubles_options = (nir_lower_doubles_options)~0;
|
||||
|
||||
return true;
|
||||
|
||||
failed:
|
||||
|
|
Loading…
Reference in New Issue