glsl: enable OVR_multiview if OVR_multiview2 is enabled
according to spec
Fixes: 328c29d600
("mesa,glsl,gallium: add GL_OVR_multiview")
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32946>
This commit is contained in:

committed by
Marge Bot

parent
3c5eae639d
commit
010732b8ef
@@ -1031,6 +1031,9 @@ _mesa_glsl_process_extension(const char *name, YYLTYPE *name_locp,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (state->OVR_multiview2_enable)
|
||||||
|
state->OVR_multiview_enable = true;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user