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>
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 2cd9233..8fec208 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -287,6 +287,10 @@
<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.