On 9 November 2017 at 06:42, Jordan Justen <jordan.l.jus...@intel.com> wrote:
> Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com>
> ---
>  include/GL/gl.h | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/include/GL/gl.h b/include/GL/gl.h
> index 5b284802885..6ae8088f6cb 100644
> --- a/include/GL/gl.h
> +++ b/include/GL/gl.h
> @@ -2101,6 +2101,14 @@ typedef void (APIENTRYP 
> PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum t
>  #endif
>
>
> +#ifndef GL_MESA_program_binary_formats
> +#define GL_MESA_program_binary_formats 1
> +
> +#define GL_PROGRAM_BINARY_FORMAT_MESA          0x875F
> +
> +#endif /* GL_MESA_program_binary_formats */
> +
I think we should open an issue with Khronos and add the extension to
the official registry.
For reference here is how MESA_tile_raster_order was handled [1].

Perhaps we can do that after the Mesa patches have been reviewed and (?) merged?

Being an extension, the ifndef hunk should live in gl ext.h

HTH
Emil

[1] https://github.com/KhronosGroup/OpenGL-Registry/pull/105
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to