mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
glcontext: Mark RGB16F as not renderable
According to EXT_color_buffer_half_float it should be renderable, but it fails to glGenerateMipmap() with Mesa 23.3 so just pretend it's not renderable until that is fixed. Fixes CI from failing.
This commit is contained in:
parent
25f99f35f6
commit
825c97be6c
@ -1639,7 +1639,8 @@ gdk_gl_context_init_memory_flags (GdkGLContext *self)
|
|||||||
flags |= GDK_GL_FORMAT_FILTERABLE;
|
flags |= GDK_GL_FORMAT_FILTERABLE;
|
||||||
priv->memory_flags[GDK_MEMORY_R16G16B16A16_FLOAT_PREMULTIPLIED] |= flags;
|
priv->memory_flags[GDK_MEMORY_R16G16B16A16_FLOAT_PREMULTIPLIED] |= flags;
|
||||||
priv->memory_flags[GDK_MEMORY_R16G16B16A16_FLOAT] |= flags;
|
priv->memory_flags[GDK_MEMORY_R16G16B16A16_FLOAT] |= flags;
|
||||||
priv->memory_flags[GDK_MEMORY_R16G16B16_FLOAT] |= flags;
|
/* disabled for now, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/10378 */
|
||||||
|
priv->memory_flags[GDK_MEMORY_R16G16B16_FLOAT] |= flags & ~GDK_GL_FORMAT_RENDERABLE;
|
||||||
priv->memory_flags[GDK_MEMORY_A16_FLOAT] |= flags;
|
priv->memory_flags[GDK_MEMORY_A16_FLOAT] |= flags;
|
||||||
}
|
}
|
||||||
if (epoxy_has_gl_extension ("GL_OES_texture_float"))
|
if (epoxy_has_gl_extension ("GL_OES_texture_float"))
|
||||||
|
Loading…
Reference in New Issue
Block a user