Mesa (master): svga: add missing switch case for PIPE_SHADER_CAP_INTEGERS

Brian Paul brianp at kemper.freedesktop.org
Tue Aug 9 08:04:40 PDT 2011


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

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Aug  9 08:58:47 2011 -0600

svga: add missing switch case for PIPE_SHADER_CAP_INTEGERS

---

 src/gallium/drivers/svga/svga_screen.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c
index 4be10ef..e0c1159 100644
--- a/src/gallium/drivers/svga/svga_screen.c
+++ b/src/gallium/drivers/svga/svga_screen.c
@@ -245,6 +245,8 @@ static int svga_get_shader_param(struct pipe_screen *screen, unsigned shader, en
          return 0;
       case PIPE_SHADER_CAP_SUBROUTINES:
          return 0;
+      case PIPE_SHADER_CAP_INTEGERS:
+         return 0;
       }
       break;
    case PIPE_SHADER_VERTEX:



More information about the mesa-commit mailing list