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> (cherry picked from commit010732b8ef
) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33113>
This commit is contained in:

committed by
Dylan Baker

parent
95a2cc6a7a
commit
75539eac3e
@@ -1024,7 +1024,7 @@
|
||||
"description": "glsl: enable OVR_multiview if OVR_multiview2 is enabled",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "328c29d6007ed7677d5c5307bd6997d84a32104a",
|
||||
"notes": null
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user