mesa/src
Erik Faye-Lund 9e13a16c97 mesa: handle GL_FRONT after translating to it
Without this, we end up throwing errors on code along these lines when
rendering using single-buffering:

GLint att;
glGetIntegerv(GL_READ_BUFFER, &att);
glGetFramebufferAttachmentParameteriv(GL_READ_FRAMEBUFFER, att, ...);

This is because we internally translate GL_BACK (which is what
glGetIntegerv returned) to GL_FRONT, which we don't handle in the
Desktop GL case. So let's start handling it.

This fixes the GLTF-GL33.gtf21.GL2FixedTests.buffer_color.blend_color
test for me.

Fixes: e6ca6e587e ("mesa: Handle pbuffers in desktop GL framebuffer attachment queries")

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6815>
2020-09-24 14:11:29 +00:00
..
amd vulkan/wsi/display: add option for display fence to signal syncobj 2020-09-24 13:20:00 +00:00
android_stub mesa: Make the android_stub be a set of non-installed shared libraries. 2020-09-22 17:09:22 +00:00
broadcom nir: replace lower_ffma and fuse_ffma with has_ffma 2020-09-24 12:29:11 +00:00
compiler nir: replace lower_ffma and fuse_ffma with has_ffma 2020-09-24 12:29:11 +00:00
drm-shim drm-shim: Fix unused variable warnings from asserts in release build. 2020-08-28 22:45:08 +00:00
egl egl/android: HAVE_DRM_GRALLOC path fixes (v2) 2020-09-07 23:33:15 +02:00
etnaviv etnaviv: replace all dup() with os_dupfd_cloexec() 2020-06-18 02:09:56 +00:00
freedreno vulkan/wsi/display: add option for display fence to signal syncobj 2020-09-24 13:20:00 +00:00
gallium radeonsi: always inline draw-related functions that have only one use 2020-09-24 13:08:03 +00:00
gbm gallium: rename pipe_transfer_usage -> pipe_map_flags 2020-09-22 03:20:54 +00:00
getopt
glx glx: Allow depth-30 pbuffers to work without a depth-30 pixmap format 2020-09-17 14:28:24 -04:00
gtest gtest: Update to 1.10.0 2020-04-20 11:57:11 +00:00
hgl scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
imgui
intel vulkan/wsi/display: add option for display fence to signal syncobj 2020-09-24 13:20:00 +00:00
loader glx/dri3: Implement GLX_EXT_swap_control_tear 2020-09-10 14:48:19 -04:00
mapi src/mesa: add GL_NV_half_float extension support (v2) 2020-08-11 19:55:22 +00:00
mesa mesa: handle GL_FRONT after translating to it 2020-09-24 14:11:29 +00:00
panfrost nir: replace lower_ffma and fuse_ffma with has_ffma 2020-09-24 12:29:11 +00:00
util android: Disable trying to read/write to the disk cache. 2020-09-22 20:41:25 +00:00
virtio virgl: update protocol headers 2020-08-21 18:38:44 +00:00
vulkan vulkan/wsi/display: add option for display fence to signal syncobj 2020-09-24 13:20:00 +00:00
meson.build meson: don't advertise TLS support if glx wasn't build with it 2020-08-31 09:14:57 +00:00
SConscript driconf: drop now unused translation facility 2020-06-22 21:50:12 +00:00