diff options
author | Keith Whitwell <[email protected]> | 2009-09-24 16:48:49 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-09-24 16:48:49 +0100 |
commit | 0c55dd8094cad716c4b30316b5c8f0d9a0b72905 (patch) | |
tree | b47138f83099f2ea2af8f6c7281c5c58d7e0395a /src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c | |
parent | cd362334adfee077faa3b7cb4e0d7994d5a5cf56 (diff) |
pipebuffer: fix warnings
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c')
-rw-r--r-- | src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c index 109ac7c9d63..d01f8666222 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c +++ b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c @@ -542,7 +542,7 @@ fenced_buffer_list_dump(struct fenced_buffer_list *fenced_list) debug_printf("%10p %7u %7u\n", fenced_buf, fenced_buf->base.base.size, - fenced_buf->base.base.reference.count); + p_atomic_read(&fenced_buf->base.base.reference.count)); curr = next; next = curr->next; } @@ -556,7 +556,7 @@ fenced_buffer_list_dump(struct fenced_buffer_list *fenced_list) debug_printf("%10p %7u %7u %10p %s\n", fenced_buf, fenced_buf->base.base.size, - fenced_buf->base.base.reference.count, + p_atomic_read(&fenced_buf->base.base.reference.count), fenced_buf->fence, signaled == 0 ? "y" : "n"); curr = next; |