mesa/src/mesa
James Hogan 8d50d42514 mesa: Fix FramebufferTextureMultiviewOVR num_views check
The check in check_multiview_texture_target() whether numViews <= 0 (as
required by the OVR_multiview spec) is never triggered since it is only
called by frame_buffer_texture() when numviews > 1, as numviews of 0 is
passed in by non multiview FramebufferTexture functions. Such cases are
incorrectly treated as non-multiview attachments.

Tweak frame_buffer_texture() to take an extra bool argument "multiview"
to distinguish between a multiview call with numviews=0, and a
non-multiview call.

Fixes: 328c29d600 ("mesa,glsl,gallium: add GL_OVR_multiview")
Signed-off-by: James Hogan <james@albanarts.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33346>
(cherry picked from commit 7f493b45ae)
2025-02-04 20:47:26 +01:00
..
main mesa: Fix FramebufferTextureMultiviewOVR num_views check 2025-02-04 20:47:26 +01:00
math mesa: optimize setting the identity matrix 2023-12-08 04:25:51 +00:00
program mesa: switch ARB_vp/fp to IO intrinsics 2025-01-07 00:31:08 +00:00
state_tracker mesa/st: take pixelmaps in to account in drawpixels cache 2025-01-28 08:50:51 +00:00
vbo glapi: rename exported symbols so as not to conflict with old libglapi 2025-01-23 00:49:05 +00:00
x86 util: cleanup cpuinfo.* and it's related files 2022-11-15 19:06:07 +00:00
meson.build glapi: remove the remap table 2025-01-23 00:49:05 +00:00