graw: Set the vertex shader constant buffer.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 25 Apr 2013 13:06:50 +0000 (14:06 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 25 Apr 2013 13:06:50 +0000 (14:06 +0100)
We were setting the fragment shader, which wasn't needed.

src/gallium/tests/graw/vs-test.c

index 61f6a93c27ce5538593ddecd3cdf9cb161054e21..1ab6732bb1796df090b460f7325830e58a53cc67 100644 (file)
@@ -111,7 +111,7 @@ static void init_fs_constbuf( void )
 
 
    pipe_set_constant_buffer(ctx,
-                            PIPE_SHADER_FRAGMENT, 0,
+                            PIPE_SHADER_VERTEX, 0,
                             constbuf);
 }