driconf: force the vendor string to NVIDIA to fix viewperf energy tests

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7031>
This commit is contained in:
Marek Olšák 2020-09-25 21:06:16 -04:00 committed by Marge Bot
parent 5827fe898e
commit a8b4e690cf

View file

@ -287,6 +287,10 @@ TODO: document the other workarounds.
<option name="allow_glsl_extension_directive_midshader" value="true" />
<option name="allow_glsl_120_subset_in_110" value="true" />
<option name="force_gl_names_reuse" value="true" />
<!-- This makes it use GL_NVX_gpu_memory_info to query memory info
instead of non-existent GLX_AMD_gpu_association. Yes, it checks
the vendor string, not the extension list. -->
<option name="force_gl_vendor" value="NVIDIA Corporation" />
</application>
<!-- The GL thread allowlist is below, workarounds are above.