Mesa (master): llvmpipe: return 120 for PIPE_CAP_GLSL_FEATURE_LEVEL

Brian Paul brianp at kemper.freedesktop.org
Tue Jun 26 23:04:38 UTC 2012


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

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jun 26 16:37:22 2012 -0600

llvmpipe: return 120 for PIPE_CAP_GLSL_FEATURE_LEVEL

Reviewed-by: Marek Olšák <maraeo at gmail.com>

---

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

diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index e66737b..33fa241 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -190,7 +190,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_VERTEX_COLOR_CLAMPED:
       return 0;
    case PIPE_CAP_GLSL_FEATURE_LEVEL:
-      return 0;
+      return 120;
    case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION:
       return 0;
    case PIPE_CAP_COMPUTE:




More information about the mesa-commit mailing list