mesa: Refactor the entirety of _mesa_format_matches_format_and_type().
[mesa.git] / src / mesa / main / glformats.h
index 487e7fe80e8c28b32de05bc9c798349b97c7300d..0a65ef6cace954fa4229bd940cefda849c9f7404 100644 (file)
@@ -147,6 +147,9 @@ _mesa_base_tex_format(const struct gl_context *ctx, GLint internalFormat );
 extern uint32_t
 _mesa_format_from_format_and_type(GLenum format, GLenum type);
 
+bool
+_mesa_swap_bytes_in_type_enum(GLenum *type);
+
 extern uint32_t
 _mesa_tex_format_from_format_and_type(const struct gl_context *ctx,
                                       GLenum gl_format, GLenum type);