summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.h
diff options
context:
space:
mode:
authorAndres Rodriguez <[email protected]>2017-07-12 18:45:12 -0400
committerTimothy Arceri <[email protected]>2017-08-06 12:42:06 +1000
commitd0aac1b0aaef483c4bb8601e941438dfdb37b93f (patch)
tree9b17e5536a38c783d1dfd81ac45abd5caad1f292 /src/mesa/main/teximage.h
parentfc790c50ccb060cf8d07a5be59d8b3868a627784 (diff)
mesa: hook up memory object multisamples tex(ture)storage api
V2 (Timothy): - error check memory == 0 before lookup Signed-off-by: Andres Rodriguez <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r--src/mesa/main/teximage.h10
1 files changed, 10 insertions, 0 deletions
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);