[Mesa-stable] [Mesa-dev] [PATCH] radv: add Doom workaround

Mike Lothian mike at fireburn.co.uk
Wed Aug 15 11:16:46 UTC 2018


Do you need the game name here, isn't that set in driconf?

On Wed, 15 Aug 2018 at 12:12 Timothy Arceri <tarceri at itsqueeze.com> wrote:

> Cc: <mesa-stable at lists.freedesktop.org>
> ---
>  src/amd/vulkan/radv_device.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
> index 33f24b9d302..cc88abb57a8 100644
> --- a/src/amd/vulkan/radv_device.c
> +++ b/src/amd/vulkan/radv_device.c
> @@ -480,6 +480,9 @@ radv_handle_per_app_options(struct radv_instance
> *instance,
>                          */
>                         instance->perftest_flags |= RADV_PERFTEST_SISCHED;
>                 }
> +       } else if (!strcmp(name, "DOOM_VFR")) {
> +               /* Work around a Doom VFR game bug */
> +               instance->debug_flags |= RADV_DEBUG_NO_DYNAMIC_BOUNDS;
>         }
>  }
>
> --
> 2.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-stable/attachments/20180815/0017c844/attachment.html>


More information about the mesa-stable mailing list