Mesa (master): llvmpipe: fix missing tbo cap warning.

Dave Airlie airlied at kemper.freedesktop.org
Sat Dec 8 03:53:12 UTC 2012


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Dec  8 03:46:32 2012 +0000

llvmpipe: fix missing tbo cap warning.

Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/gallium/drivers/llvmpipe/lp_screen.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index 61228f6..0f30447 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -216,6 +216,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_TEXTURE_MULTISAMPLE:
    case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
    case PIPE_CAP_CUBE_MAP_ARRAY:
+   case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:
       return 0;
    }
    /* should only get here on unhandled cases */




More information about the mesa-commit mailing list