summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/p_tile.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-02-29 11:09:02 -0700
committerBrian Paul <[email protected]>2008-02-29 11:10:20 -0700
commita41b77f4fedc7d956d8cb44547d812b5449f8641 (patch)
tree1c6adb44f67f48ea17b8fd50bd0117ddbd7cf182 /src/gallium/auxiliary/util/p_tile.h
parent78220aea864c36038f8425ad9d8467d2a2bdea58 (diff)
gallium: added pipe_get/put_tile_z() functions
Diffstat (limited to 'src/gallium/auxiliary/util/p_tile.h')
-rw-r--r--src/gallium/auxiliary/util/p_tile.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/p_tile.h b/src/gallium/auxiliary/util/p_tile.h
index cd8124bf11f..318b6d11a68 100644
--- a/src/gallium/auxiliary/util/p_tile.h
+++ b/src/gallium/auxiliary/util/p_tile.h
@@ -78,4 +78,18 @@ pipe_put_tile_rgba(struct pipe_context *pipe,
uint x, uint y, uint w, uint h,
const float *p);
+
+extern void
+pipe_get_tile_z(struct pipe_context *pipe,
+ struct pipe_surface *ps,
+ uint x, uint y, uint w, uint h,
+ uint *z);
+
+extern void
+pipe_put_tile_z(struct pipe_context *pipe,
+ struct pipe_surface *ps,
+ uint x, uint y, uint w, uint h,
+ const uint *z);
+
+
#endif