From d0aac1b0aaef483c4bb8601e941438dfdb37b93f Mon Sep 17 00:00:00 2001 From: Andres Rodriguez Date: Wed, 12 Jul 2017 18:45:12 -0400 Subject: mesa: hook up memory object multisamples tex(ture)storage api V2 (Timothy): - error check memory == 0 before lookup Signed-off-by: Andres Rodriguez Reviewed-by: Samuel Pitoiset --- src/mesa/main/teximage.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/mesa/main/teximage.h') diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index e988e263a97..18452db24d6 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -228,6 +228,16 @@ _mesa_texture_sub_image(struct gl_context *ctx, GLuint dims, GLenum format, GLenum type, const GLvoid *pixels, bool dsa); +extern void +_mesa_texture_storage_ms_memory(struct gl_context *ctx, GLuint dims, + struct gl_texture_object *texObj, + struct gl_memory_object *memObj, + GLenum target, GLsizei samples, + GLenum internalFormat, GLsizei width, + GLsizei height, GLsizei depth, + GLboolean fixedSampleLocations, + GLuint64 offset, const char* func); + bool _mesa_is_cube_map_texture(GLenum target); -- cgit v1.2.3