From 67f40dadaa6666dacd90d1540eaadef20b9d48ba Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Thu, 14 Jun 2018 19:56:28 -0600 Subject: mesa: add support for ARB_sample_locations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rhys Perry Reviewed-by: Brian Paul (v2) Reviewed-by: Marek Olšák (v2) --- src/mesa/main/dd.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mesa/main/dd.h') diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 9f9606ac6b5..1b048d3ff8e 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -787,6 +787,14 @@ struct dd_function_table { GLenum target, GLsizei numAttachments, const GLenum *attachments); + /** + * \name Functions for GL_ARB_sample_locations + */ + void (*GetProgrammableSampleCaps)(struct gl_context *ctx, + const struct gl_framebuffer *fb, + GLuint *bits, GLuint *width, GLuint *height); + void (*EvaluateDepthValues)(struct gl_context *ctx); + /** * \name Query objects */ -- cgit v1.2.3