diff options
author | Keith Whitwell <keithw@vmware.com> | 2010-03-14 17:20:38 +0000 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-03-14 17:20:38 +0000 |
commit | d5392bdc6d70002acf9c5bac0fde14ba405c4d84 (patch) | |
tree | c420cdd72d438672a3607f2d99c569c2987672af /src/gallium/auxiliary/util/u_transfer.c | |
parent | 2f3492a5aefbb2e745f6700d8e910ebb5cbb98cf (diff) |
util: helpers for is_resource_referenced
Diffstat (limited to 'src/gallium/auxiliary/util/u_transfer.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_transfer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_transfer.c b/src/gallium/auxiliary/util/u_transfer.c index 94d21ba0d7..869b1868ba 100644 --- a/src/gallium/auxiliary/util/u_transfer.c +++ b/src/gallium/auxiliary/util/u_transfer.c @@ -63,6 +63,13 @@ void u_default_transfer_flush_region( struct pipe_context *pipe, */ } +unsigned u_default_is_resource_referenced( struct pipe_context *pipe, + struct pipe_resource *resource, + unsigned face, unsigned level) +{ + return 0; +} + struct pipe_transfer * u_default_get_transfer(struct pipe_context *context, struct pipe_resource *resource, struct pipe_subresource sr, |