driconf: add option to reuse GL names
Fix apps expecting name recycling. https://gitlab.freedesktop.org/mesa/mesa/-/issues/3144 is an example of such issue, SPECviewperf13 has this problem too. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6600>
This commit is contained in:
@@ -1221,6 +1221,8 @@ void st_init_extensions(struct pipe_screen *screen,
|
||||
consts->GLSLZeroInit = screen->get_param(screen, PIPE_CAP_GLSL_ZERO_INIT);
|
||||
}
|
||||
|
||||
consts->ForceGLNamesReuse = options->force_gl_names_reuse;
|
||||
|
||||
consts->ForceIntegerTexNearest = options->force_integer_tex_nearest;
|
||||
|
||||
consts->VendorOverride = options->force_gl_vendor;
|
||||
|
Reference in New Issue
Block a user