Mesa (master): pipebuffer: s/PB_ALL_USAGE_FLAGS/PB_USAGE_ALL/

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Mar 8 15:08:12 UTC 2019


Module: Mesa
Branch: master
Commit: 2c387819f4b19a6da1255c63a7b2746feed2f9d9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c387819f4b19a6da1255c63a7b2746feed2f9d9

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Mar  8 08:07:23 2019 -0700

pipebuffer: s/PB_ALL_USAGE_FLAGS/PB_USAGE_ALL/

To fix build failure.  I guess my meson configuration has assertions
disabled for some reason.

Trivial fix.

---

 src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
index 7101fdc269b..3f501c298ce 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
+++ b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
@@ -303,7 +303,7 @@ pb_debug_buffer_validate(struct pb_buffer *_buf,
 {
    struct pb_debug_buffer *buf = pb_debug_buffer(_buf);
    
-   assert((flags & ~PB_ALL_USAGE_FLAGS) == 0);
+   assert((flags & ~PB_USAGE_ALL) == 0);
 
    mtx_lock(&buf->mutex);
    if(buf->map_count) {




More information about the mesa-commit mailing list