mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
anv: set shaderFloat64 to true when fp64_workaround_enabled
According to 00-mesa-defaults.conf, the only game that seems to care about fp64_workaround_enabled right now is Doom Eternal. After some brief testing I couldn't spot any performance difference by setting shaderFloat64 to true. We want to set this to true so that DIRT 5 can work, as it looks at shaderFloat64 and then refuses to launch today. Link: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9882 Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28213>
This commit is contained in:
parent
cc5e7f8b9b
commit
460bacc223
1 changed files with 2 additions and 1 deletions
|
|
@ -492,7 +492,8 @@ get_features(const struct anv_physical_device *pdevice,
|
|||
.shaderStorageImageArrayDynamicIndexing = true,
|
||||
.shaderClipDistance = true,
|
||||
.shaderCullDistance = true,
|
||||
.shaderFloat64 = pdevice->info.has_64bit_float,
|
||||
.shaderFloat64 = pdevice->info.has_64bit_float ||
|
||||
pdevice->instance->fp64_workaround_enabled,
|
||||
.shaderInt64 = true,
|
||||
.shaderInt16 = true,
|
||||
.shaderResourceMinLod = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue