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

Author: Christoph Bumiller <[email protected]>
Date:   Sun Mar 21 14:05:20 2010 +0100

nv50: report driver as GLSL capable

There's still no hint of optimization in the shaders, but
we support conditionals, loops and even integer opcodes so
it isn't that big a lie.

---

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

diff --git a/src/gallium/drivers/nv50/nv50_screen.c 
b/src/gallium/drivers/nv50/nv50_screen.c
index 8fab06c..1a4606d 100644
--- a/src/gallium/drivers/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nv50/nv50_screen.c
@@ -109,7 +109,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, int 
param)
        case PIPE_CAP_TWO_SIDED_STENCIL:
                return 1;
        case PIPE_CAP_GLSL:
-               return 0;
+               return 1;
        case PIPE_CAP_ANISOTROPIC_FILTER:
                return 1;
        case PIPE_CAP_POINT_SPRITE:

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to