summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/format_unpack.h
diff options
context:
space:
mode:
authorAnuj Phogat <anuj.phogat@gmail.com>2014-03-21 11:05:55 -0700
committerAnuj Phogat <anuj.phogat@gmail.com>2014-05-01 10:58:40 -0700
commit7a8045d2f7b7f749a555dbe5f51c327ab0cd6cc8 (patch)
tree8af8df71bf9bab9a7c6a015edcfaee8c8d76b31f /src/mesa/main/format_unpack.h
parentef924f0de93accff2ea12dbd90cc3c1df794c8f5 (diff)
downloadexternal_mesa3d-7a8045d2f7b7f749a555dbe5f51c327ab0cd6cc8.zip
external_mesa3d-7a8045d2f7b7f749a555dbe5f51c327ab0cd6cc8.tar.gz
external_mesa3d-7a8045d2f7b7f749a555dbe5f51c327ab0cd6cc8.tar.bz2
mesa: Add new helper function _mesa_unpack_depth_stencil_row()
This patch makes non-functional changes in the code. New helper function added here will make it easier to support more data types in the following patches. Cc: <mesa-stable@lists.freedesktop.org> Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/main/format_unpack.h')
-rw-r--r--src/mesa/main/format_unpack.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/format_unpack.h b/src/mesa/main/format_unpack.h
index 1fcfc04..5904a28 100644
--- a/src/mesa/main/format_unpack.h
+++ b/src/mesa/main/format_unpack.h
@@ -63,5 +63,8 @@ void
_mesa_unpack_uint_24_8_depth_stencil_row(mesa_format format, GLuint n,
const void *src, GLuint *dst);
-
+void
+_mesa_unpack_depth_stencil_row(mesa_format format, GLuint n,
+ const void *src, GLenum type,
+ GLuint *dst);
#endif /* FORMAT_UNPACK_H */