Mesa (master): graw: Set the vertex shader constant buffer.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Apr 25 15:36:24 UTC 2013


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

Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Apr 25 14:06:50 2013 +0100

graw: Set the vertex shader constant buffer.

We were setting the fragment shader, which wasn't needed.

---

 src/gallium/tests/graw/vs-test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/tests/graw/vs-test.c b/src/gallium/tests/graw/vs-test.c
index 61f6a93..1ab6732 100644
--- a/src/gallium/tests/graw/vs-test.c
+++ b/src/gallium/tests/graw/vs-test.c
@@ -111,7 +111,7 @@ static void init_fs_constbuf( void )
 
 
    pipe_set_constant_buffer(ctx,
-                            PIPE_SHADER_FRAGMENT, 0,
+                            PIPE_SHADER_VERTEX, 0,
                             constbuf);
 }
 




More information about the mesa-commit mailing list