Mesa (master): gallium/u_threaded: fix a typo

Marek Olšák mareko at kemper.freedesktop.org
Fri Aug 25 13:40:47 UTC 2017


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

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Aug 25 15:34:00 2017 +0200

gallium/u_threaded: fix a typo

---

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

diff --git a/src/gallium/auxiliary/util/u_threaded_context.c b/src/gallium/auxiliary/util/u_threaded_context.c
index a9fc670173..cbcd4056b2 100644
--- a/src/gallium/auxiliary/util/u_threaded_context.c
+++ b/src/gallium/auxiliary/util/u_threaded_context.c
@@ -1297,7 +1297,7 @@ tc_improve_map_buffer_flags(struct threaded_context *tc,
 
    /* Handle CPU reads trivially. */
    if (usage & PIPE_TRANSFER_READ) {
-      /* Driver aren't allowed to do buffer invalidations. */
+      /* Drivers aren't allowed to do buffer invalidations. */
       return (usage & ~PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE) |
              TC_TRANSFER_MAP_NO_INVALIDATE |
              TC_TRANSFER_MAP_IGNORE_VALID_RANGE;




More information about the mesa-commit mailing list